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

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

Issue 889563002: Make RenderObject::style() return a const object (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Blind fix for Mac. 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/LayoutSlider.cpp
diff --git a/Source/core/layout/LayoutSlider.cpp b/Source/core/layout/LayoutSlider.cpp
index a5e68adbed9fb4864f6153deba63f55fc94687e4..c9fce2a18da8b73d62050ea719d3c7cbf6d82aba 100644
--- a/Source/core/layout/LayoutSlider.cpp
+++ b/Source/core/layout/LayoutSlider.cpp
@@ -71,7 +71,7 @@ void LayoutSlider::layout()
// http://webkit.org/b/62535
RenderBox* thumbBox = sliderThumbElement()->renderBox();
if (thumbBox && thumbBox->isSliderThumb())
- toLayoutSliderThumb(thumbBox)->updateAppearance(style());
+ toLayoutSliderThumb(thumbBox)->updateAppearance(deprecatedMutableStyle());
RenderFlexibleBox::layout();
}

Powered by Google App Engine
This is Rietveld 408576698