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

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

Issue 2087513003: Remove LayoutBlockFlow overflow invalidation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: NeedsRebaseline 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
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/paint/DisplayItemClient.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/graphics/paint/DisplayItemClient.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/paint/DisplayItemClient.cpp b/third_party/WebKit/Source/platform/graphics/paint/DisplayItemClient.cpp
index 1e196f2ef26e9c762da1f1a54f835f68e0748d55..a7da630bc3aa699ee5bf130cfcbb27652dec74ae 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/DisplayItemClient.cpp
+++ b/third_party/WebKit/Source/platform/graphics/paint/DisplayItemClient.cpp
@@ -58,6 +58,14 @@ void DisplayItemClient::beginShouldKeepAlive(const void* owner) const
addResult.storedValue->value = debugName();
}
+void DisplayItemClient::endShouldKeepAlive() const
+{
+ if (displayItemClientsShouldKeepAlive) {
+ for (auto item : *displayItemClientsShouldKeepAlive)
+ item.value.remove(this);
+ }
+}
+
void DisplayItemClient::endShouldKeepAliveAllClients(const void* owner)
{
if (displayItemClientsShouldKeepAlive)
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/paint/DisplayItemClient.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698