Index: Source/core/layout/LayoutThemeChromiumAndroid.cpp |
diff --git a/Source/core/layout/LayoutThemeChromiumAndroid.cpp b/Source/core/layout/LayoutThemeChromiumAndroid.cpp |
index ae0d5a471097f966d0ee36edc6920cd730305a10..4de722fa472e1f106cdfd373440746ed78ded103 100644 |
--- a/Source/core/layout/LayoutThemeChromiumAndroid.cpp |
+++ b/Source/core/layout/LayoutThemeChromiumAndroid.cpp |
@@ -71,15 +71,15 @@ String LayoutThemeChromiumAndroid::extraDefaultStyleSheet() |
} |
-void LayoutThemeChromiumAndroid::adjustInnerSpinButtonStyle(RenderStyle* style, Element*) const |
+void LayoutThemeChromiumAndroid::adjustInnerSpinButtonStyle(RenderStyle& style, Element*) const |
{ |
if (LayoutTestSupport::isRunningLayoutTest()) { |
// Match Linux spin button style in layout tests. |
// FIXME: Consider removing the conditional if a future Android theme matches this. |
IntSize size = Platform::current()->themeEngine()->getSize(WebThemeEngine::PartInnerSpinButton); |
- style->setWidth(Length(size.width(), Fixed)); |
- style->setMinWidth(Length(size.width(), Fixed)); |
+ style.setWidth(Length(size.width(), Fixed)); |
+ style.setMinWidth(Length(size.width(), Fixed)); |
} |
} |