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

Unified Diff: cc/CCPrioritizedTextureManager.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/CCPrioritizedTexture.h ('k') | cc/CCProxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/CCPrioritizedTextureManager.h
diff --git a/cc/CCPrioritizedTextureManager.h b/cc/CCPrioritizedTextureManager.h
index 4bb8a3a662da17cbce9b605dff03835cb3d3a298..88a4f45fcfb176186078e1ce0db5b425e4daf285 100644
--- a/cc/CCPrioritizedTextureManager.h
+++ b/cc/CCPrioritizedTextureManager.h
@@ -5,6 +5,7 @@
#ifndef CCPrioritizedTextureManager_h
#define CCPrioritizedTextureManager_h
+#include "base/basictypes.h"
#include "CCPrioritizedTexture.h"
#include "CCPriorityCalculator.h"
#include "CCTexture.h"
@@ -21,7 +22,6 @@ class CCPrioritizedTexture;
class CCPriorityCalculator;
class CCPrioritizedTextureManager {
- WTF_MAKE_NONCOPYABLE(CCPrioritizedTextureManager);
public:
static PassOwnPtr<CCPrioritizedTextureManager> create(size_t maxMemoryLimitBytes, int maxTextureSize, int pool)
{
@@ -139,8 +139,10 @@ private:
// Set by the main thread when it adjust priorities in such a way that
// the m_backings array's view of priorities is now out of date.
bool m_needsUpdateBackingsPrioritites;
+
+ DISALLOW_COPY_AND_ASSIGN(CCPrioritizedTextureManager);
};
-} // cc
+} // namespace cc
#endif
« no previous file with comments | « cc/CCPrioritizedTexture.h ('k') | cc/CCProxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698