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

Unified Diff: cc/CCThread.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/CCTextureUpdateQueue.h ('k') | cc/CCTiledLayerImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/CCThread.h
diff --git a/cc/CCThread.h b/cc/CCThread.h
index e27ce91db6bbec3155f2b4b377eed270d769a1b6..1ac494663199a1b30903ce8fb4956d03f98f2714 100644
--- a/cc/CCThread.h
+++ b/cc/CCThread.h
@@ -5,9 +5,9 @@
#ifndef CCThread_h
#define CCThread_h
+#include "base/basictypes.h"
#include "base/threading/platform_thread.h"
#include <wtf/PassOwnPtr.h>
-#include <wtf/Noncopyable.h>
namespace cc {
@@ -18,7 +18,6 @@ public:
virtual ~CCThread() { }
class Task {
- WTF_MAKE_NONCOPYABLE(Task);
public:
virtual ~Task() { }
virtual void performTask() = 0;
@@ -26,6 +25,8 @@ public:
protected:
Task(void* instance) : m_instance(instance) { }
void* m_instance;
+ private:
+ DISALLOW_COPY_AND_ASSIGN(Task);
};
// Executes the task on context's thread asynchronously.
« no previous file with comments | « cc/CCTextureUpdateQueue.h ('k') | cc/CCTiledLayerImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698