Chromium Code Reviews

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

Issue 7231014: Merge 89183 - 2011-06-17 Julien Chaffraix <jchaffraix@webkit.org> (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/782/
Patch Set: Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « Source/WebCore/ChangeLog ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/rendering/svg/SVGRootInlineBox.cpp
===================================================================
--- Source/WebCore/rendering/svg/SVGRootInlineBox.cpp (revision 89444)
+++ Source/WebCore/rendering/svg/SVGRootInlineBox.cpp (working copy)
@@ -77,6 +77,9 @@
ASSERT(parentBlock);
Vector<SVGTextLayoutAttributes>& attributes = parentBlock->layoutAttributes();
+ if (attributes.isEmpty())
+ return;
+
if (parentBlock->needsReordering())
reorderValueLists(attributes);
« no previous file with comments | « Source/WebCore/ChangeLog ('k') | no next file » | no next file with comments »

Powered by Google App Engine