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

Unified Diff: Source/core/layout/LayoutSliderThumb.h

Issue 894393003: Constify and use reference for RenderStyle in LayoutTheme (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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
Index: Source/core/layout/LayoutSliderThumb.h
diff --git a/Source/core/layout/LayoutSliderThumb.h b/Source/core/layout/LayoutSliderThumb.h
index f3bc72c9ad6c44d58e3dcffbe3528ac01d3969ab..a48beab49a371b13f6fb72caa07ea6b1269fc74d 100644
--- a/Source/core/layout/LayoutSliderThumb.h
+++ b/Source/core/layout/LayoutSliderThumb.h
@@ -42,7 +42,7 @@ class SliderThumbElement;
class LayoutSliderThumb final : public RenderBlockFlow {
public:
LayoutSliderThumb(SliderThumbElement*);
- void updateAppearance(RenderStyle* parentStyle);
+ void updateAppearance(const RenderStyle& parentStyle);
private:
virtual bool isOfType(RenderObjectType type) const override { return type == RenderObjectSliderThumb || RenderBlockFlow::isOfType(type); }

Powered by Google App Engine
This is Rietveld 408576698