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

Unified Diff: Source/core/paint/BoxPainter.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/paint/BoxPainter.cpp
diff --git a/Source/core/paint/BoxPainter.cpp b/Source/core/paint/BoxPainter.cpp
index 8861545bcf9750edf1899a4dca5a228df3b8cf93..299ed408b3aba26978958eca3c42ac6ae56c8735 100644
--- a/Source/core/paint/BoxPainter.cpp
+++ b/Source/core/paint/BoxPainter.cpp
@@ -74,7 +74,7 @@ void BoxPainter::paintBoxDecorationBackgroundWithRect(const PaintInfo& paintInfo
if (recorder.canUseCachedDrawing())
return;
- RenderStyle* style = m_renderBox.style();
+ const RenderStyle* style = m_renderBox.style();
BoxDecorationData boxDecorationData(m_renderBox, paintInfo.context);
// FIXME: Should eventually give the theme control over whether the box shadow should paint, since controls could have

Powered by Google App Engine
This is Rietveld 408576698