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

fix: expose libgtkui::GetFgColor (backport: 3-0-x) #741

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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