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

Unified Diff: Source/core/rendering/RenderQuote.cpp

Issue 889563002: Make RenderObject::style() return a const object (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated patch after splitting 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/rendering/RenderQuote.cpp
diff --git a/Source/core/rendering/RenderQuote.cpp b/Source/core/rendering/RenderQuote.cpp
index 9ff595ad55b0570a6a3d5fb85fe74a4d88a303d4..27c5297602f01dce9cf4e38cedbc67df051f979c 100644
--- a/Source/core/rendering/RenderQuote.cpp
+++ b/Source/core/rendering/RenderQuote.cpp
@@ -265,11 +265,11 @@ void RenderQuote::updateText()
RenderTextFragment* fragment = findFragmentChild();
if (fragment) {
- fragment->setStyle(style());
+ fragment->setStyle(mutableStyle());
fragment->setContentString(m_text.impl());
} else {
fragment = new RenderTextFragment(&document(), m_text.impl());
- fragment->setStyle(style());
+ fragment->setStyle(mutableStyle());
addChild(fragment);
}
}

Powered by Google App Engine
This is Rietveld 408576698