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

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: thinger 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
« no previous file with comments | « Source/core/layout/LayoutAnalyzer.cpp ('k') | Source/core/layout/LayoutBlockFlow.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutBlock.cpp
diff --git a/Source/core/layout/LayoutBlock.cpp b/Source/core/layout/LayoutBlock.cpp
index 6aa189fc9eb98f54b55729fc7bac7f14d579b22c..ee1816cf2cb382c6e2c614b56758f1a9442da36e 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 (LayoutAnalyzer* analyzer = frameView()->layoutAnalyzer())
+ analyzer->increment(LayoutAnalyzer::LayoutObjectsThatNeedSimplifiedLayout);
return true;
}
« no previous file with comments | « Source/core/layout/LayoutAnalyzer.cpp ('k') | Source/core/layout/LayoutBlockFlow.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698