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

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

Issue 2611923002: Disable copy and assignment for DisplayItemClient (Closed)
Patch Set: - Created 3 years, 11 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 | 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.h
diff --git a/third_party/WebKit/Source/platform/graphics/paint/DisplayItemClient.h b/third_party/WebKit/Source/platform/graphics/paint/DisplayItemClient.h
index fb47d824b2b8949868f9534a8010b5327d59d635..9d8c80132b05d771e7ecdb1f79ed14c2ea1d0ea5 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/DisplayItemClient.h
+++ b/third_party/WebKit/Source/platform/graphics/paint/DisplayItemClient.h
@@ -45,6 +45,7 @@ class PLATFORM_EXPORT DisplayItemClient {
static void endShouldKeepAliveAllClients(const void* owner);
static void endShouldKeepAliveAllClients();
#else
+ DisplayItemClient() {}
virtual ~DisplayItemClient() {}
#endif
@@ -171,6 +172,8 @@ class PLATFORM_EXPORT DisplayItemClient {
mutable CacheGenerationOrInvalidationReason
m_cacheGenerationOrInvalidationReason;
+
+ DISALLOW_COPY_AND_ASSIGN(DisplayItemClient);
};
inline bool operator==(const DisplayItemClient& client1,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698