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

Unified Diff: third_party/WebKit/Source/core/paint/LineBoxListPainter.cpp

Issue 2392443009: reflow comments in core/paint (Closed)
Patch Set: Created 4 years, 2 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/paint/LineBoxListPainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/LineBoxListPainter.cpp b/third_party/WebKit/Source/core/paint/LineBoxListPainter.cpp
index 65adbc45d3c141b3f64242ee3ea050103c8cf6cf..aa0824527da6557c74e44bb33dbe2b208119791a 100644
--- a/third_party/WebKit/Source/core/paint/LineBoxListPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/LineBoxListPainter.cpp
@@ -42,11 +42,9 @@ void LineBoxListPainter::paint(const LayoutBoxModelObject& layoutObject,
paintInfo.phase != PaintPhaseMask)
return;
- ASSERT(
- layoutObject.isLayoutBlock() ||
- (layoutObject.isLayoutInline() &&
- layoutObject
- .hasLayer())); // The only way an inline could paint like this is if it has a layer.
+ // The only way an inline could paint like this is if it has a layer.
+ ASSERT(layoutObject.isLayoutBlock() ||
+ (layoutObject.isLayoutInline() && layoutObject.hasLayer()));
if (paintInfo.phase == PaintPhaseForeground && paintInfo.isPrinting())
addPDFURLRectsForInlineChildrenRecursively(layoutObject, paintInfo,

Powered by Google App Engine
This is Rietveld 408576698