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

Unified Diff: cc/CCLayerTilingData.h

Issue 10985088: cc: Switch it to use DISALLOW_COPY_AND_ASSIGN macro from base/ library. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review Created 8 years, 3 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 | « cc/CCLayerSorter.h ('k') | cc/CCLayerTreeHost.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/CCLayerTilingData.h
diff --git a/cc/CCLayerTilingData.h b/cc/CCLayerTilingData.h
index 695e39d7d32e9dd8ea9231a0c7e313db03867dbd..c73f0570c72f236f27b2069969d76ae2434f0726 100644
--- a/cc/CCLayerTilingData.h
+++ b/cc/CCLayerTilingData.h
@@ -8,6 +8,7 @@
#if USE(ACCELERATED_COMPOSITING)
+#include "base/basictypes.h"
#include "IntRect.h"
#include "Region.h"
#include "TilingData.h"
@@ -43,7 +44,6 @@ public:
const CCLayerTilingData& operator=(const CCLayerTilingData&);
class Tile {
- WTF_MAKE_NONCOPYABLE(Tile);
public:
Tile() : m_i(-1), m_j(-1) { }
virtual ~Tile() { }
@@ -58,6 +58,7 @@ public:
int m_i;
int m_j;
IntRect m_opaqueRect;
+ DISALLOW_COPY_AND_ASSIGN(Tile);
};
// Default hash key traits for integers disallow 0 and -1 as a key, so
// use a custom hash trait which disallows -1 and -2 instead.
« no previous file with comments | « cc/CCLayerSorter.h ('k') | cc/CCLayerTreeHost.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698