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

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

Issue 894393003: Constify and use reference for RenderStyle in LayoutTheme (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix Mac take I. Created 5 years, 10 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
« no previous file with comments | « Source/core/css/resolver/StyleAdjuster.cpp ('k') | Source/core/layout/LayoutSliderThumb.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutSlider.cpp
diff --git a/Source/core/layout/LayoutSlider.cpp b/Source/core/layout/LayoutSlider.cpp
index a5e68adbed9fb4864f6153deba63f55fc94687e4..dc7b247791c922bb340ddf5b5e6bbf0b07fcb94d 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(styleRef());
RenderFlexibleBox::layout();
}
« no previous file with comments | « Source/core/css/resolver/StyleAdjuster.cpp ('k') | Source/core/layout/LayoutSliderThumb.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698