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

Unified Diff: Source/WebCore/rendering/mathml/RenderMathMLFenced.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/RenderMathMLFenced.cpp
diff --git a/Source/WebCore/rendering/mathml/RenderMathMLFenced.cpp b/Source/WebCore/rendering/mathml/RenderMathMLFenced.cpp
index c408aad9b6b6c5cc8620c32da717186f5a117074..9a062899db676756a668e5c3b3cf8beb3a9e558f 100644
--- a/Source/WebCore/rendering/mathml/RenderMathMLFenced.cpp
+++ b/Source/WebCore/rendering/mathml/RenderMathMLFenced.cpp
@@ -151,9 +151,9 @@ void RenderMathMLFenced::addChild(RenderObject* child, RenderObject* beforeChild
}
// FIXME: Change createMathMLOperator() above to create an isAnonymous() operator, and remove this styleDidChange() function.
-void RenderMathMLFenced::styleDidChange(StyleDifference diff, const RenderStyle* oldStyle)
+void RenderMathMLFenced::styleDidChange(StyleDifference diff, const RenderStyle* oldStyle, const StyleChangeState& state)
{
- RenderMathMLBlock::styleDidChange(diff, oldStyle);
+ RenderMathMLBlock::styleDidChange(diff, oldStyle, state);
for (RenderObject* child = firstChild(); child; child = child->nextSibling()) {
if (child->node() == node()) {

Powered by Google App Engine
This is Rietveld 408576698