Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(18)

Unified Diff: third_party/WebKit/Source/core/layout/LayoutObject.h

Issue 2180573002: Try to fix crash because of InlineBox deletion in a cached subsequence (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2785
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/api/LineLayoutItem.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/layout/LayoutObject.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.h b/third_party/WebKit/Source/core/layout/LayoutObject.h
index cee1ba1015b774b9e124b17b44d3abed51e701a9..5063dfb4ea7186433b2840f24415e69ea8f63d35 100644
--- a/third_party/WebKit/Source/core/layout/LayoutObject.h
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.h
@@ -1366,6 +1366,10 @@ public:
invalidateDisplayItemClient(client, reason);
}
+ // This calls paintingLayer() which walks up the tree.
+ // If possible, use the faster paintInvalidationState.paintingLayer().setNeedsRepaint().
+ void slowSetPaintingLayerNeedsRepaint() const;
+
// Sets painting layer needsRepaint, then calls invaldiateDisplayItemClient().
// Should use this version when PaintInvalidationState is available.
void setPaintingLayerNeedsRepaintAndInvalidateDisplayItemClient(const PaintInvalidationState&, const DisplayItemClient&, PaintInvalidationReason) const;
@@ -1573,10 +1577,6 @@ protected:
// The caller should ensure the painting layer has been setNeedsRepaint before calling this function.
virtual void invalidateDisplayItemClients(PaintInvalidationReason) const;
- // This calls paintingLayer() which walks up the tree.
- // If possible, use the faster paintInvalidationState.paintingLayer().setNeedsRepaint().
- void slowSetPaintingLayerNeedsRepaint() const;
-
// Sets painting layer needsRepaint, then calls invalidateDisplayItemClients().
// Should use this version when PaintInvalidationState is available.
void invalidateDisplayItemClientsWithPaintInvalidationState(const PaintInvalidationState&, PaintInvalidationReason) const;
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/api/LineLayoutItem.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698