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

Unified Diff: Source/core/rendering/svg/SVGRootInlineBox.cpp

Issue 16677006: Merge 150896 "Dirty the first RootInlineBox, always" (Closed) Base URL: svn://svn.chromium.org/blink/branches/chromium/1500/
Patch Set: Created 7 years, 6 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
« no previous file with comments | « Source/core/rendering/svg/SVGRootInlineBox.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/svg/SVGRootInlineBox.cpp
===================================================================
--- Source/core/rendering/svg/SVGRootInlineBox.cpp (revision 152061)
+++ Source/core/rendering/svg/SVGRootInlineBox.cpp (working copy)
@@ -68,6 +68,14 @@
}
}
+void SVGRootInlineBox::markDirty(bool dirty)
+{
+ if (dirty)
+ for (InlineBox* child = firstChild(); child; child = child->nextOnLine())
+ child->markDirty(true);
+ RootInlineBox::markDirty(dirty);
+}
+
void SVGRootInlineBox::computePerCharacterLayoutInformation()
{
RenderSVGText* textRoot = toRenderSVGText(block());
« no previous file with comments | « Source/core/rendering/svg/SVGRootInlineBox.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698