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

Unified Diff: cc/CCLayerTreeHostImpl.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: 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/CCLayerTreeHostImpl.h ('k') | cc/CCOcclusionTracker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/CCLayerTreeHostImpl.cpp
diff --git a/cc/CCLayerTreeHostImpl.cpp b/cc/CCLayerTreeHostImpl.cpp
index 46a8e0aafd51efcac3e8bc9ac43d3cee0d115aab..00a23a7057710a7e565ddcdf7a6d69f9f3a0e67d 100644
--- a/cc/CCLayerTreeHostImpl.cpp
+++ b/cc/CCLayerTreeHostImpl.cpp
@@ -6,6 +6,7 @@
#include "CCLayerTreeHostImpl.h"
+#include "base/basictypes.h"
#include "CCAppendQuadsData.h"
#include "CCDamageTracker.h"
#include "CCDebugRectHistory.h"
@@ -51,7 +52,6 @@ void didVisibilityChange(cc::CCLayerTreeHostImpl* id, bool visible)
namespace cc {
class CCLayerTreeHostImplTimeSourceAdapter : public CCTimeSourceClient {
- WTF_MAKE_NONCOPYABLE(CCLayerTreeHostImplTimeSourceAdapter);
public:
static PassOwnPtr<CCLayerTreeHostImplTimeSourceAdapter> create(CCLayerTreeHostImpl* layerTreeHostImpl, PassRefPtr<CCDelayBasedTimeSource> timeSource)
{
@@ -89,6 +89,8 @@ private:
CCLayerTreeHostImpl* m_layerTreeHostImpl;
RefPtr<CCDelayBasedTimeSource> m_timeSource;
+
+ DISALLOW_COPY_AND_ASSIGN(CCLayerTreeHostImplTimeSourceAdapter);
};
CCLayerTreeHostImpl::FrameData::FrameData()
« no previous file with comments | « cc/CCLayerTreeHostImpl.h ('k') | cc/CCOcclusionTracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698