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

Unified Diff: cc/CCOcclusionTracker.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/CCLayerTreeHostImpl.cpp ('k') | cc/CCPrioritizedTexture.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/CCOcclusionTracker.h
diff --git a/cc/CCOcclusionTracker.h b/cc/CCOcclusionTracker.h
index 084e3e48ad0dff9289b931bb6434fca6046be6de..c2526cdc38eb04639c92ab76a344a2d4b60137e4 100644
--- a/cc/CCOcclusionTracker.h
+++ b/cc/CCOcclusionTracker.h
@@ -5,6 +5,7 @@
#ifndef CCOcclusionTracker_h
#define CCOcclusionTracker_h
+#include "base/basictypes.h"
#include "CCLayerIterator.h"
#include "FloatQuad.h"
#include "Region.h"
@@ -23,7 +24,6 @@ class RenderSurfaceChromium;
// Finally, once finished with the layer, occlusion behind the layer should be marked by calling markOccludedBehindLayer().
template<typename LayerType, typename RenderSurfaceType>
class CCOcclusionTrackerBase {
- WTF_MAKE_NONCOPYABLE(CCOcclusionTrackerBase);
public:
CCOcclusionTrackerBase(IntRect rootTargetRect, bool recordMetricsForFrame);
@@ -94,6 +94,8 @@ private:
// This is used for visualizing the occlusion tracking process.
Vector<IntRect>* m_occludingScreenSpaceRects;
+
+ DISALLOW_COPY_AND_ASSIGN(CCOcclusionTrackerBase);
};
typedef CCOcclusionTrackerBase<LayerChromium, RenderSurfaceChromium> CCOcclusionTracker;
« no previous file with comments | « cc/CCLayerTreeHostImpl.cpp ('k') | cc/CCPrioritizedTexture.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698