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

Unified Diff: Source/core/layout/LayoutBlock.cpp

Issue 1120833003: Put LayoutAnalyzer back behind disabled-by-default-blink.debug.layout. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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: Source/core/layout/LayoutBlock.cpp
diff --git a/Source/core/layout/LayoutBlock.cpp b/Source/core/layout/LayoutBlock.cpp
index 6aa189fc9eb98f54b55729fc7bac7f14d579b22c..0015357006ca398256ef76bb121bde47b7723714 100644
--- a/Source/core/layout/LayoutBlock.cpp
+++ b/Source/core/layout/LayoutBlock.cpp
@@ -1624,7 +1624,8 @@ bool LayoutBlock::simplifiedLayout()
clearNeedsLayout();
- frameView()->layoutAnalyzer().increment(LayoutAnalyzer::LayoutObjectsThatNeedSimplifiedLayout);
+ if (frameView()->layoutAnalyzer())
esprehn 2015/04/30 23:32:35 ditto.
benjhayden 2015/04/30 23:55:33 Done.
+ frameView()->layoutAnalyzer()->increment(LayoutAnalyzer::LayoutObjectsThatNeedSimplifiedLayout);
return true;
}

Powered by Google App Engine
This is Rietveld 408576698