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

Unified Diff: Source/WebCore/rendering/mathml/RenderMathMLSubSup.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/mathml/RenderMathMLSubSup.cpp
diff --git a/Source/WebCore/rendering/mathml/RenderMathMLSubSup.cpp b/Source/WebCore/rendering/mathml/RenderMathMLSubSup.cpp
index d07fc8b8d02d24cc8bd320092c5d8f89f5a0f00f..afa331eee43a9ef4f947a599eb18497bb51870db 100644
--- a/Source/WebCore/rendering/mathml/RenderMathMLSubSup.cpp
+++ b/Source/WebCore/rendering/mathml/RenderMathMLSubSup.cpp
@@ -94,9 +94,9 @@ void RenderMathMLSubSup::addChild(RenderObject* child, RenderObject* beforeChild
m_scripts->addChild(child, beforeChild && beforeChild->parent() == m_scripts ? beforeChild : 0);
}
-void RenderMathMLSubSup::styleDidChange(StyleDifference diff, const RenderStyle* oldStyle)
+void RenderMathMLSubSup::styleDidChange(StyleDifference diff, const RenderStyle* oldStyle, const StyleChangeState& state)
{
- RenderMathMLBlock::styleDidChange(diff, oldStyle);
+ RenderMathMLBlock::styleDidChange(diff, oldStyle, state);
if (!isEmpty())
fixAnonymousStyles();

Powered by Google App Engine
This is Rietveld 408576698