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

Unified Diff: third_party/WebKit/Source/core/layout/line/InlineFlowBox.cpp

Issue 2641573003: Add DCHECK(rootBox) to InlineFlowBox::computeLogicalBoxHeights (Closed)
Patch Set: Created 3 years, 11 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/layout/line/InlineFlowBox.cpp
diff --git a/third_party/WebKit/Source/core/layout/line/InlineFlowBox.cpp b/third_party/WebKit/Source/core/layout/line/InlineFlowBox.cpp
index 19bf94a71263d6134c865cd25cde5e30b89de5b6..0bb27d46e6593bae0bf234349835fce0f85d932b 100644
--- a/third_party/WebKit/Source/core/layout/line/InlineFlowBox.cpp
+++ b/third_party/WebKit/Source/core/layout/line/InlineFlowBox.cpp
@@ -628,6 +628,7 @@ void InlineFlowBox::computeLogicalBoxHeights(
// child box's baseline and the root box's baseline. The value is negative
// if the child box's baseline is above the root box's baseline, and it is
// positive if the child box's baseline is below the root box's baseline.
+ DCHECK(rootBox);
curr->setLogicalTop(
rootBox->verticalPositionForBox(curr, verticalPositionCache));
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698