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

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: 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/RenderQuote.cpp
diff --git a/Source/core/rendering/RenderQuote.cpp b/Source/core/rendering/RenderQuote.cpp
index 38bdcb109d06a25264553edcaeaf61d6738abd75..857d1d004208946e0408f05b0c87e93c9e7a62fb 100644
--- a/Source/core/rendering/RenderQuote.cpp
+++ b/Source/core/rendering/RenderQuote.cpp
@@ -272,11 +272,11 @@ void RenderQuote::updateText()
RenderTextFragment* fragment = findFragmentChild();
if (fragment) {
- fragment->setStyle(style());
+ fragment->setStyle(deprecatedMutableStyle());
fragment->setContentString(m_text.impl());
} else {
fragment = new RenderTextFragment(&document(), m_text.impl());
- fragment->setStyle(style());
+ fragment->setStyle(deprecatedMutableStyle());
addChild(fragment);
}
}

Powered by Google App Engine
This is Rietveld 408576698