Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1200)

Unified Diff: Source/core/layout/LayoutThemeChromiumDefault.cpp

Issue 889563002: Make RenderObject::style() return a const object (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix a crashers (everything is building!) Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/layout/LayoutThemeChromiumDefault.cpp
diff --git a/Source/core/layout/LayoutThemeChromiumDefault.cpp b/Source/core/layout/LayoutThemeChromiumDefault.cpp
index a20d05b0a607e9c8b5a2a35dfa32026c53a50c54..ef2b10059f2bb6b2e66478790789d496cfb4bd0d 100644
--- a/Source/core/layout/LayoutThemeChromiumDefault.cpp
+++ b/Source/core/layout/LayoutThemeChromiumDefault.cpp
@@ -490,7 +490,7 @@ bool LayoutThemeChromiumDefault::shouldOpenPickerWithF4Key() const
return true;
}
-bool LayoutThemeChromiumDefault::shouldUseFallbackTheme(RenderStyle* style) const
+bool LayoutThemeChromiumDefault::shouldUseFallbackTheme(const RenderStyle* style) const
{
if (useMockTheme()) {
// The mock theme can't handle zoomed controls, so we fall back to the "fallback" theme.

Powered by Google App Engine
This is Rietveld 408576698