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

Unified Diff: cc/CCTextureUpdateController.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/CCScopedTexture.h ('k') | cc/CCTextureUpdateQueue.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/CCTextureUpdateController.h
diff --git a/cc/CCTextureUpdateController.h b/cc/CCTextureUpdateController.h
index 6f9228a5cc63804659b107f803d2fca2011927b3..16902e6654c934c2f28e5b153e211df65640fe34 100644
--- a/cc/CCTextureUpdateController.h
+++ b/cc/CCTextureUpdateController.h
@@ -5,10 +5,10 @@
#ifndef CCTextureUpdateController_h
#define CCTextureUpdateController_h
+#include "base/basictypes.h"
#include "base/time.h"
#include "CCTextureUpdateQueue.h"
#include "CCTimer.h"
-#include <wtf/Noncopyable.h>
#include <wtf/OwnPtr.h>
namespace cc {
@@ -24,7 +24,6 @@ protected:
};
class CCTextureUpdateController : public CCTimerClient {
- WTF_MAKE_NONCOPYABLE(CCTextureUpdateController);
public:
static PassOwnPtr<CCTextureUpdateController> create(CCTextureUpdateControllerClient* client, CCThread* thread, PassOwnPtr<CCTextureUpdateQueue> queue, CCResourceProvider* resourceProvider, TextureUploader* uploader)
{
@@ -66,6 +65,9 @@ protected:
base::TimeTicks m_timeLimit;
size_t m_textureUpdatesPerTick;
bool m_firstUpdateAttempt;
+
+private:
+ DISALLOW_COPY_AND_ASSIGN(CCTextureUpdateController);
};
}
« no previous file with comments | « cc/CCScopedTexture.h ('k') | cc/CCTextureUpdateQueue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698