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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutBlock.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/LayoutBlock.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutBlock.cpp b/third_party/WebKit/Source/core/layout/LayoutBlock.cpp
index 5b1bf91dd065a1c214c59c753fc35394dc74636c..4b2f3f7784cf0bc4767545b58a90e83fa086d563 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBlock.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutBlock.cpp
@@ -1041,7 +1041,7 @@ void LayoutBlock::simplifiedNormalFlowLayout()
}
}
-bool LayoutBlock::simplifiedLayout()
+bool LayoutBlock::simplifiedLayout(SubtreeLayoutScope* layouter)
{
// Check if we need to do a full layout.
if (normalChildNeedsLayout() || selfNeedsLayout())
@@ -1063,7 +1063,7 @@ bool LayoutBlock::simplifiedLayout()
return false;
}
- TextAutosizer::LayoutScope textAutosizerLayoutScope(this);
+ TextAutosizer::LayoutScope textAutosizerLayoutScope(this, layouter);
// Lay out positioned descendants or objects that just need to recompute overflow.
if (needsSimplifiedNormalFlowLayout())

Powered by Google App Engine
This is Rietveld 408576698