Index: Source/core/layout/LayoutObject.h |
diff --git a/Source/core/layout/LayoutObject.h b/Source/core/layout/LayoutObject.h |
index e6029b3265135bba2d5c9e39a73e6364e12cb132..d9bd423613b67c0ae8704baf77bd564ec780ff16 100644 |
--- a/Source/core/layout/LayoutObject.h |
+++ b/Source/core/layout/LayoutObject.h |
@@ -237,22 +237,6 @@ public: |
renderer->assertRendererLaidOut(); |
} |
- void assertRendererClearedPaintInvalidationState() const |
- { |
-#ifndef NDEBUG |
- if (paintInvalidationStateIsDirty()) { |
- showLayoutTreeForThis(); |
- ASSERT_NOT_REACHED(); |
- } |
-#endif |
- } |
- |
- void assertSubtreeClearedPaintInvalidationState() const |
- { |
- for (const LayoutObject* renderer = this; renderer; renderer = renderer->nextInPreOrder()) |
- renderer->assertRendererClearedPaintInvalidationState(); |
- } |
- |
Xianzhu
2015/03/17 23:34:01
I think we can keep these for a while for non-SP.
chrishtr
2015/03/17 23:55:56
Good point. I can re-add.
chrishtr
2015/03/19 22:01:27
Done.
|
#endif |
// FIXME: This could be used when changing the size of a renderer without children to skip some invalidations. |