Skip to content
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.

Commit

Permalink
backport fix:export GetFgColor:3-0-x
Browse files Browse the repository at this point in the history
  • Loading branch information
Cobinja committed Dec 23, 2018
1 parent 7ec083e commit a6f0b7d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
5 changes: 5 additions & 0 deletions patches/common/chromium/.patches.yaml
Expand Up @@ -447,3 +447,8 @@ patches:
description: |
Update sqlite api for 3.26 in //sql, //content/browser, //third_party/WebKit.
Backport https://crrev.com/c/1146280/ and https://crrev.com/c/1352694/
-
author: Lars Mueller <cobinja@yahoo.de> and Sylvester Keil <sylvester@keil.or.at>
file: libgtkui_export.patch
description: |
Export libgtkui symbol GetFgColor for the GN component build.
9 changes: 9 additions & 0 deletions patches/common/chromium/libgtkui_export.patch
Expand Up @@ -10,6 +10,15 @@ index 665ec57..4ccb088 100644

namespace aura {
class Window;
@@ -177,7 +177,7 @@ void ApplyCssToContext(GtkStyleContext* context, const std::string& css);

// Get the 'color' property from the style context created by
// GetStyleContextFromCss(|css_selector|).
-SkColor GetFgColor(const std::string& css_selector);
+LIBGTKUI_EXPORT SkColor GetFgColor(const std::string& css_selector);

ScopedCssProvider GetCssProvider(const std::string& css);

@@ -190,7 +190,7 @@ void RenderBackground(const gfx::Size& size,
// Renders a background from the style context created by
// GetStyleContextFromCss(|css_selector|) into a 24x24 bitmap and
Expand Down

0 comments on commit a6f0b7d

Please sign in to comment.