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

Unified Diff: cc/CCScopedTexture.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/CCSchedulerStateMachine.h ('k') | cc/CCTextureUpdateController.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/CCScopedTexture.h
diff --git a/cc/CCScopedTexture.h b/cc/CCScopedTexture.h
index 59dca53bd017b7bad38cbb349436317035ddeb21..a5b615c6e7c08a60ff6a5e46468fb4de970d9c2f 100644
--- a/cc/CCScopedTexture.h
+++ b/cc/CCScopedTexture.h
@@ -5,6 +5,7 @@
#ifndef CCScopedTexture_h
#define CCScopedTexture_h
+#include "base/basictypes.h"
#include "CCTexture.h"
#if !ASSERT_DISABLED
@@ -14,7 +15,6 @@
namespace cc {
class CCScopedTexture : protected CCTexture {
- WTF_MAKE_NONCOPYABLE(CCScopedTexture);
public:
static PassOwnPtr<CCScopedTexture> create(CCResourceProvider* resourceProvider) { return adoptPtr(new CCScopedTexture(resourceProvider)); }
virtual ~CCScopedTexture();
@@ -37,6 +37,8 @@ private:
#if !ASSERT_DISABLED
base::PlatformThreadId m_allocateThreadIdentifier;
#endif
+
+ DISALLOW_COPY_AND_ASSIGN(CCScopedTexture);
};
}
« no previous file with comments | « cc/CCSchedulerStateMachine.h ('k') | cc/CCTextureUpdateController.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698