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 eeb5b2f02665a9ba0f18dfc96add945f8c7b417d..3842c8f17177333bad31e26f0a732e26083ee65a 100644 |
--- a/third_party/WebKit/Source/platform/graphics/paint/DisplayItemClient.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/paint/DisplayItemClient.cpp |
@@ -5,11 +5,15 @@ |
#include "platform/graphics/paint/DisplayItemClient.h" |
#if ENABLE(ASSERT) |
- |
#include "wtf/HashSet.h" |
+#endif |
namespace blink { |
+DisplayItemCacheGeneration::Generation DisplayItemCacheGeneration::s_nextGeneration = 1; |
+ |
+#if DCHECK_IS_ON() |
+ |
HashSet<const DisplayItemClient*>* liveDisplayItemClients = nullptr; |
DisplayItemClient::DisplayItemClient() |
@@ -29,6 +33,6 @@ bool DisplayItemClient::isAlive(const DisplayItemClient& client) |
return liveDisplayItemClients && liveDisplayItemClients->contains(&client); |
} |
-} // namespace blink |
+#endif // DCHECK_IS_ON() |
-#endif // ENABLE(ASSERT) |
+} // namespace blink |