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

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. 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/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
This is Rietveld 408576698