| 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,
|
|
|