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

Unified Diff: Source/core/paint/MultiColumnSetPainter.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/MultiColumnSetPainter.cpp
diff --git a/Source/core/paint/MultiColumnSetPainter.cpp b/Source/core/paint/MultiColumnSetPainter.cpp
index fb15dfa580a4bc8b107fd239f17307eca96734c6..bf5afe0dc17baf53e209ea9092d5ad1d73a8aebf 100644
--- a/Source/core/paint/MultiColumnSetPainter.cpp
+++ b/Source/core/paint/MultiColumnSetPainter.cpp
@@ -37,7 +37,7 @@ void MultiColumnSetPainter::paintColumnRules(const PaintInfo& paintInfo, const L
if (m_renderMultiColumnSet.flowThread()->isRenderPagedFlowThread())
return;
- RenderStyle* blockStyle = m_renderMultiColumnSet.multiColumnBlockFlow()->style();
+ const RenderStyle* blockStyle = m_renderMultiColumnSet.multiColumnBlockFlow()->style();
const Color& ruleColor = m_renderMultiColumnSet.resolveColor(blockStyle, CSSPropertyWebkitColumnRuleColor);
bool ruleTransparent = blockStyle->columnRuleIsTransparent();
EBorderStyle ruleStyle = blockStyle->columnRuleStyle();

Powered by Google App Engine
This is Rietveld 408576698