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

Unified Diff: Source/WebCore/rendering/RenderCombineText.cpp

Issue 13679002: Add StyleChangeState to get rid of a bunch of static state in the render tree. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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/WebCore/rendering/RenderCombineText.cpp
diff --git a/Source/WebCore/rendering/RenderCombineText.cpp b/Source/WebCore/rendering/RenderCombineText.cpp
index ce316b6b92526f9c53a28625ac7e4c35ef8ea32c..de974ac76403396f6b76e5a5c6606ddec7cd9197 100644
--- a/Source/WebCore/rendering/RenderCombineText.cpp
+++ b/Source/WebCore/rendering/RenderCombineText.cpp
@@ -36,10 +36,10 @@ RenderCombineText::RenderCombineText(Node* node, PassRefPtr<StringImpl> string)
{
}
-void RenderCombineText::styleDidChange(StyleDifference diff, const RenderStyle* oldStyle)
+void RenderCombineText::styleDidChange(StyleDifference diff, const RenderStyle* oldStyle, const StyleChangeState& state)
{
setStyleInternal(RenderStyle::clone(style()));
- RenderText::styleDidChange(diff, oldStyle);
+ RenderText::styleDidChange(diff, oldStyle, state);
if (m_isCombined) {
RenderText::setTextInternal(originalText()); // This RenderCombineText has been combined once. Restore the original text for the next combineText().

Powered by Google App Engine
This is Rietveld 408576698