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

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

Issue 2170583003: Try to fix crash because of InlineBox deletion in a cached subsequence (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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 6c62e6b1cb6c8b347cfb2d5959a019ceed59b8fb..9e9a455db7faffc1b06f6197e6428f779b957e34 100644
--- a/third_party/WebKit/Source/core/layout/LayoutObject.h
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.h
@@ -1363,6 +1363,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;
@@ -1568,10 +1572,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