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 0684431fe7496bfa3f97b55bf22e5a04027d808a..6d44bba274c8076305ee9ae621ad15f7302e1aeb 100644 |
--- a/third_party/WebKit/Source/core/paint/LineBoxListPainter.cpp |
+++ b/third_party/WebKit/Source/core/paint/LineBoxListPainter.cpp |
@@ -29,7 +29,7 @@ static void addPDFURLRectsForInlineChildrenRecursively(const LayoutObject& layou |
void LineBoxListPainter::paint(const LayoutBoxModelObject& layoutObject, const PaintInfo& paintInfo, const LayoutPoint& paintOffset) const |
{ |
- ASSERT(paintInfo.phase != PaintPhaseOutline && paintInfo.phase != PaintPhaseSelfOutline && paintInfo.phase != PaintPhaseDescendantOutlines); |
+ ASSERT(!shouldPaintSelfOutline(paintInfo.phase) && !shouldPaintDescendantOutlines(paintInfo.phase)); |
// Only paint during the foreground/selection phases. |
if (paintInfo.phase != PaintPhaseForeground && paintInfo.phase != PaintPhaseSelection && paintInfo.phase != PaintPhaseTextClip && paintInfo.phase != PaintPhaseMask) |