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

Unified Diff: cc/TextureCopier.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/ScrollbarLayerChromium.cpp ('k') | cc/ThrottledTextureUploader.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/TextureCopier.h
diff --git a/cc/TextureCopier.h b/cc/TextureCopier.h
index 13d3fbba4f650da204c2ad9c2c0f9a28494db78a..ba8d7bf5e6af9bcad72edbe36f0941ba08131252 100644
--- a/cc/TextureCopier.h
+++ b/cc/TextureCopier.h
@@ -5,12 +5,12 @@
#ifndef TextureCopier_h
#define TextureCopier_h
+#include "base/basictypes.h"
#include "GraphicsContext3D.h"
#include "ProgramBinding.h"
#include "ShaderChromium.h"
#include <wtf/OwnPtr.h>
#include <wtf/PassOwnPtr.h>
-#include <wtf/Noncopyable.h>
namespace WebKit {
class WebGraphicsContext3D;
@@ -38,7 +38,6 @@ public:
#if USE(ACCELERATED_COMPOSITING)
class AcceleratedTextureCopier : public TextureCopier {
- WTF_MAKE_NONCOPYABLE(AcceleratedTextureCopier);
public:
static PassOwnPtr<AcceleratedTextureCopier> create(WebKit::WebGraphicsContext3D* context, bool usingBindUniforms)
{
@@ -60,6 +59,8 @@ private:
Platform3DObject m_positionBuffer;
OwnPtr<BlitProgram> m_blitProgram;
bool m_usingBindUniforms;
+
+ DISALLOW_COPY_AND_ASSIGN(AcceleratedTextureCopier);
};
#endif // USE(ACCELERATED_COMPOSITING)
« no previous file with comments | « cc/ScrollbarLayerChromium.cpp ('k') | cc/ThrottledTextureUploader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698