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

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp

Issue 1887933002: (CANCELED) Fix TextAutosizer not to scheduleRelayout() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: simplifiedLayout Created 4 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: third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp
index 9413c6868a932a243361ee2fae82e3477ece1982..21637fa5ca261bdd7228adbfcdf9003fbc11fa92 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp
@@ -238,7 +238,7 @@ void LayoutSVGText::layout()
// Reduced version of LayoutBlock::layoutBlock(), which only takes care of SVG text.
// All if branches that could cause early exit in LayoutBlocks layoutBlock() method are turned into assertions.
ASSERT(!isInline());
- ASSERT(!simplifiedLayout());
+ ASSERT(!simplifiedLayout(nullptr));
cbiesinger 2016/04/15 17:08:08 I don't really know much about SVG but this seems
kojii 2016/04/15 17:58:44 By "weird" do you mean the original code is weird
ASSERT(!scrollsOverflow());
ASSERT(!hasControlClip());
ASSERT(!positionedObjects());

Powered by Google App Engine
This is Rietveld 408576698