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

Unified Diff: cc/CCRendererSoftware.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/CCRendererGL.h ('k') | cc/CCResourceProvider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/CCRendererSoftware.h
diff --git a/cc/CCRendererSoftware.h b/cc/CCRendererSoftware.h
index a7b36d527ef1f9b4238971964f6c2d265b54606c..2ad688fc0a1f6af548c65f4f1bdd60ac8d46b4e0 100644
--- a/cc/CCRendererSoftware.h
+++ b/cc/CCRendererSoftware.h
@@ -5,6 +5,7 @@
#ifndef CCRendererSoftware_h
#define CCRendererSoftware_h
+#include "base/basictypes.h"
#include "CCDirectRenderer.h"
#include "CCLayerTreeHost.h"
#include <public/WebCompositorSoftwareOutputDevice.h>
@@ -19,7 +20,6 @@ class CCTextureDrawQuad;
class CCTileDrawQuad;
class CCRendererSoftware : public CCDirectRenderer {
- WTF_MAKE_NONCOPYABLE(CCRendererSoftware);
public:
static PassOwnPtr<CCRendererSoftware> create(CCRendererClient*, CCResourceProvider*, WebKit::WebCompositorSoftwareOutputDevice*);
virtual ~CCRendererSoftware();
@@ -67,6 +67,8 @@ private:
SkCanvas* m_skCurrentCanvas;
SkPaint m_skCurrentPaint;
OwnPtr<CCResourceProvider::ScopedWriteLockSoftware> m_currentFramebufferLock;
+
+ DISALLOW_COPY_AND_ASSIGN(CCRendererSoftware);
};
}
« no previous file with comments | « cc/CCRendererGL.h ('k') | cc/CCResourceProvider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698