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

Unified Diff: cc/CCProxy.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/CCPrioritizedTextureManager.h ('k') | cc/CCRenderPass.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/CCProxy.h
diff --git a/cc/CCProxy.h b/cc/CCProxy.h
index 0fc5b5e9a5948fef2190ced9c3152e1213183169..78e8c062c1f0ae65c22199adfdfd76c49b9871b1 100644
--- a/cc/CCProxy.h
+++ b/cc/CCProxy.h
@@ -5,9 +5,9 @@
#ifndef CCProxy_h
#define CCProxy_h
+#include "base/basictypes.h"
#include "IntRect.h"
#include <public/WebCompositorOutputSurface.h>
-#include <wtf/Noncopyable.h>
#include <wtf/PassOwnPtr.h>
#include <wtf/PassRefPtr.h>
@@ -20,7 +20,6 @@ struct RendererCapabilities;
// Abstract class responsible for proxying commands from the main-thread side of
// the compositor over to the compositor implementation.
class CCProxy {
- WTF_MAKE_NONCOPYABLE(CCProxy);
public:
static void setMainThread(CCThread*);
static CCThread* mainThread();
@@ -101,6 +100,9 @@ protected:
CCProxy();
friend class DebugScopedSetImplThread;
friend class DebugScopedSetMainThreadBlocked;
+
+private:
+ DISALLOW_COPY_AND_ASSIGN(CCProxy);
};
class DebugScopedSetMainThreadBlocked {
« no previous file with comments | « cc/CCPrioritizedTextureManager.h ('k') | cc/CCRenderPass.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698