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

Unified Diff: cc/CCLayerTreeHost.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/CCLayerTilingData.h ('k') | cc/CCLayerTreeHostImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/CCLayerTreeHost.h
diff --git a/cc/CCLayerTreeHost.h b/cc/CCLayerTreeHost.h
index 4c3c585466af640f59127d52297ead659170516f..04a31b95ae32a3f59fbb1bd2863e7804828a8af0 100644
--- a/cc/CCLayerTreeHost.h
+++ b/cc/CCLayerTreeHost.h
@@ -5,6 +5,8 @@
#ifndef CCLayerTreeHost_h
#define CCLayerTreeHost_h
+#include "base/basictypes.h"
+#include "cc/own_ptr_vector.h"
#include "CCAnimationEvents.h"
#include "CCGraphicsContext.h"
#include "CCLayerTreeHostClient.h"
@@ -16,7 +18,6 @@
#include "IntRect.h"
#include "RateLimiter.h"
#include "SkColor.h"
-#include "cc/own_ptr_vector.h"
#include <limits>
#include <wtf/HashMap.h>
#include <wtf/OwnPtr.h>
@@ -77,7 +78,6 @@ struct RendererCapabilities {
};
class CCLayerTreeHost : public RateLimiterClient {
- WTF_MAKE_NONCOPYABLE(CCLayerTreeHost);
public:
static PassOwnPtr<CCLayerTreeHost> create(CCLayerTreeHostClient*, const CCLayerTreeSettings&);
virtual ~CCLayerTreeHost();
@@ -276,6 +276,8 @@ private:
size_t m_partialTextureUpdateRequests;
static bool s_needsFilterContext;
+
+ DISALLOW_COPY_AND_ASSIGN(CCLayerTreeHost);
};
}
« no previous file with comments | « cc/CCLayerTilingData.h ('k') | cc/CCLayerTreeHostImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698