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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/DisplayItemClient.h

Issue 2087513003: Remove LayoutBlockFlow overflow invalidation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix InlineTextBoxTest Created 4 years, 6 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
Index: third_party/WebKit/Source/platform/graphics/paint/DisplayItemClient.h
diff --git a/third_party/WebKit/Source/platform/graphics/paint/DisplayItemClient.h b/third_party/WebKit/Source/platform/graphics/paint/DisplayItemClient.h
index 383c57c4a145b599735722ff2a6eaa0c1a3ad277..4d634751f253a56e42f04063a3bcb055e6e9c9d4 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/DisplayItemClient.h
+++ b/third_party/WebKit/Source/platform/graphics/paint/DisplayItemClient.h
@@ -63,9 +63,15 @@ public:
// Tests if this DisplayItemClient object has been created and has not been deleted yet.
bool isAlive() const;
+
// Called when any DisplayItem of this DisplayItemClient is added into PaintController
// using PaintController::createAndAppend() or into a cached subsequence.
void beginShouldKeepAlive(const void* owner) const;
+
+ // Called when the DisplayItemClient is sure that it can safely die before its owners
+ // have chance to remove it from the aliveness control.
+ void endShouldKeepAlive() const;
+
// Clears all should-keep-alive DisplayItemClients of a PaintController. Called after
// PaintController commits new display items or the subsequence owner is invalidated.
static void endShouldKeepAliveAllClients(const void* owner);

Powered by Google App Engine
This is Rietveld 408576698