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

Unified Diff: cc/TiledLayerChromium.cpp

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: 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
Index: cc/TiledLayerChromium.cpp
diff --git a/cc/TiledLayerChromium.cpp b/cc/TiledLayerChromium.cpp
index 75bd57d9b6f960ef46ba3c3e29123e8516b29b55..8f8194353e50e8135f897d3a18da8f80055a97f0 100644
--- a/cc/TiledLayerChromium.cpp
+++ b/cc/TiledLayerChromium.cpp
@@ -6,6 +6,7 @@
#if USE(ACCELERATED_COMPOSITING)
+#include "base/basictypes.h"
#include "TiledLayerChromium.h"
#include "CCLayerImpl.h"
@@ -24,7 +25,6 @@ using WebKit::WebTransformationMatrix;
namespace cc {
class UpdatableTile : public CCLayerTilingData::Tile {
- WTF_MAKE_NONCOPYABLE(UpdatableTile);
public:
static PassOwnPtr<UpdatableTile> create(PassOwnPtr<LayerTextureUpdater::Texture> texture)
{
@@ -75,6 +75,8 @@ private:
}
OwnPtr<LayerTextureUpdater::Texture> m_texture;
+
+ DISALLOW_COPY_AND_ASSIGN(UpdatableTile);
};
TiledLayerChromium::TiledLayerChromium()

Powered by Google App Engine
This is Rietveld 408576698