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

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

Issue 1979133003: Revert of Client side display item cache flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ScrollbarTheme
Patch Set: Created 4 years, 7 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.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/paint/DisplayItemClient.cpp b/third_party/WebKit/Source/platform/graphics/paint/DisplayItemClient.cpp
index 1bb0c826c70e2303f58d4dd444c4bafc3d169a91..eeb5b2f02665a9ba0f18dfc96add945f8c7b417d 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/DisplayItemClient.cpp
+++ b/third_party/WebKit/Source/platform/graphics/paint/DisplayItemClient.cpp
@@ -5,14 +5,10 @@
#include "platform/graphics/paint/DisplayItemClient.h"
#if ENABLE(ASSERT)
+
#include "wtf/HashSet.h"
-#endif
namespace blink {
-
-DisplayItemCacheGeneration::Generation DisplayItemCacheGeneration::s_nextGeneration = 1;
-
-#if ENABLE(ASSERT)
HashSet<const DisplayItemClient*>* liveDisplayItemClients = nullptr;
@@ -33,6 +29,6 @@
return liveDisplayItemClients && liveDisplayItemClients->contains(&client);
}
+} // namespace blink
+
#endif // ENABLE(ASSERT)
-
-} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698