Index: third_party/WebKit/Source/core/layout/line/InlineBox.cpp |
diff --git a/third_party/WebKit/Source/core/layout/line/InlineBox.cpp b/third_party/WebKit/Source/core/layout/line/InlineBox.cpp |
index 14110df458bd481218df28a80faca8a225a8cea0..48571543ce721c39a31f4ddd183cbc2f0b68f5c0 100644 |
--- a/third_party/WebKit/Source/core/layout/line/InlineBox.cpp |
+++ b/third_party/WebKit/Source/core/layout/line/InlineBox.cpp |
@@ -67,12 +67,8 @@ void InlineBox::destroy() |
if (!m_lineLayoutItem.documentBeingDestroyed()) { |
setLineLayoutItemShouldDoFullPaintInvalidationIfNeeded(); |
-#if CHECK_DISPLAY_ITEM_CLIENT_ALIVENESS |
- // This object may have display items in a cached subsequence, but we are |
- // sure that the subsequence will be invalidated because m_lineLayoutItem has |
- // been setShouldFullPaintInvalidation(), so deletion of this object is safe. |
- endShouldKeepAlive(); |
-#endif |
+ // TODO(crbug.com/619630): Make this fast. |
+ m_lineLayoutItem.slowSetPaintingLayerNeedsRepaint(); |
} |
delete this; |