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

Unified Diff: cc/CCDebugRectHistory.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/CCActiveAnimation.h ('k') | cc/CCDirectRenderer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/CCDebugRectHistory.h
diff --git a/cc/CCDebugRectHistory.h b/cc/CCDebugRectHistory.h
index 6046fb3a4711a90a4a0f227a37c8b36413225527..26680012ff431db141f414c3cb4577031419f619 100644
--- a/cc/CCDebugRectHistory.h
+++ b/cc/CCDebugRectHistory.h
@@ -7,9 +7,9 @@
#if USE(ACCELERATED_COMPOSITING)
+#include "base/basictypes.h"
#include "FloatRect.h"
#include "IntRect.h"
-#include <wtf/Noncopyable.h>
#include <wtf/PassOwnPtr.h>
#include <wtf/Vector.h>
@@ -52,7 +52,6 @@ struct CCDebugRect {
// for debugging purposes. The overhead of collecting rects is performed only if
// the appropriate CCLayerTreeSettings are enabled.
class CCDebugRectHistory {
- WTF_MAKE_NONCOPYABLE(CCDebugRectHistory);
public:
static PassOwnPtr<CCDebugRectHistory> create()
{
@@ -76,6 +75,8 @@ private:
void saveOccludingRects(const Vector<IntRect>& occludingScreenSpaceRects);
Vector<CCDebugRect> m_debugRects;
+
+ DISALLOW_COPY_AND_ASSIGN(CCDebugRectHistory);
};
} // namespace cc
« no previous file with comments | « cc/CCActiveAnimation.h ('k') | cc/CCDirectRenderer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698