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

Unified Diff: Source/WebCore/rendering/svg/RenderSVGInlineText.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/svg/RenderSVGInlineText.cpp
diff --git a/Source/WebCore/rendering/svg/RenderSVGInlineText.cpp b/Source/WebCore/rendering/svg/RenderSVGInlineText.cpp
index 2371d1abf9c96ba4a4628b93ca4942af7a07b95f..5baf5b98f2229e6728be721d0c49a086ac98558b 100644
--- a/Source/WebCore/rendering/svg/RenderSVGInlineText.cpp
+++ b/Source/WebCore/rendering/svg/RenderSVGInlineText.cpp
@@ -79,9 +79,9 @@ void RenderSVGInlineText::setTextInternal(PassRefPtr<StringImpl> text)
textRenderer->subtreeTextDidChange(this);
}
-void RenderSVGInlineText::styleDidChange(StyleDifference diff, const RenderStyle* oldStyle)
+void RenderSVGInlineText::styleDidChange(StyleDifference diff, const RenderStyle* oldStyle, const StyleChangeState& state)
{
- RenderText::styleDidChange(diff, oldStyle);
+ RenderText::styleDidChange(diff, oldStyle, state);
updateScaledFont();
bool newPreserves = style() ? style()->whiteSpace() == PRE : false;

Powered by Google App Engine
This is Rietveld 408576698