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

Unified Diff: Source/core/rendering/RenderMediaControls.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/rendering/RenderMediaControls.cpp
diff --git a/Source/core/rendering/RenderMediaControls.cpp b/Source/core/rendering/RenderMediaControls.cpp
index 996d76091e853426634490d0e6aeb70ef91b4c27..ebc20c83975d46001a6719c46b7701afcf351bc0 100644
--- a/Source/core/rendering/RenderMediaControls.cpp
+++ b/Source/core/rendering/RenderMediaControls.cpp
@@ -199,7 +199,7 @@ static bool paintMediaSlider(RenderObject* object, const PaintInfo& paintInfo, c
if (!mediaElement)
return false;
- RenderStyle* style = object->style();
+ const RenderStyle* style = object->style();
GraphicsContext* context = paintInfo.context;
paintRoundedSliderBackground(rect, style, context);
@@ -270,7 +270,7 @@ static bool paintMediaVolumeSlider(RenderObject* object, const PaintInfo& paintI
return false;
GraphicsContext* context = paintInfo.context;
- RenderStyle* style = object->style();
+ const RenderStyle* style = object->style();
paintRoundedSliderBackground(rect, style, context);

Powered by Google App Engine
This is Rietveld 408576698