summaryrefslogtreecommitdiffstats
path: root/cc/CCDebugRectHistory.h
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-28 22:57:20 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-28 22:57:20 +0000
commitfd2d4f29cfda088702a0c7cfb03e6ee9027a3509 (patch)
tree16f27c1b7c29b2a9fd1ff69169da69eafd9b4761 /cc/CCDebugRectHistory.h
parent2e741f8af86de37b5b5c9fefe6a8ea4eb44665b7 (diff)
downloadchromium_src-fd2d4f29cfda088702a0c7cfb03e6ee9027a3509.zip
chromium_src-fd2d4f29cfda088702a0c7cfb03e6ee9027a3509.tar.gz
chromium_src-fd2d4f29cfda088702a0c7cfb03e6ee9027a3509.tar.bz2
cc: Switch it to use DISALLOW_COPY_AND_ASSIGN macro from base/ library.
BUG=144577 R=jamesr@chromium.org Review URL: https://codereview.chromium.org/10985088 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159356 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/CCDebugRectHistory.h')
-rw-r--r--cc/CCDebugRectHistory.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/cc/CCDebugRectHistory.h b/cc/CCDebugRectHistory.h
index 6046fb3..2668001 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