Index: third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp b/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp |
index 5fbf5297154be2d5a76a7906402f87f0535bce1a..7cb1f5acfbda3468de0669a3f09ab65a229330c8 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp |
@@ -3359,13 +3359,10 @@ void LayoutBlockFlow::setAncestorShouldPaintFloatingObject(const LayoutBox& floa |
floatingObject.setShouldPaint(true); |
return; |
} |
- } else if (floatingObject.shouldPaint()) { |
+ } else { |
floatingObject.setShouldPaint(false); |
- return; |
} |
} |
- // We should have found the ancestor to update shouldPaint flag. |
- ASSERT_NOT_REACHED(); |
} |
bool LayoutBlockFlow::allowsPaginationStrut() const |