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

Unified Diff: cc/CCFrameRateCounter.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/CCFontAtlas.h ('k') | cc/CCGraphicsContext.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/CCFrameRateCounter.h
diff --git a/cc/CCFrameRateCounter.h b/cc/CCFrameRateCounter.h
index 1038deb92533e57c5328525632e20574bd52f277..76b42242565b74db6467aff88fc71c62796561e4 100644
--- a/cc/CCFrameRateCounter.h
+++ b/cc/CCFrameRateCounter.h
@@ -7,7 +7,7 @@
#if USE(ACCELERATED_COMPOSITING)
-#include <wtf/Noncopyable.h>
+#include "base/basictypes.h"
#include <wtf/PassOwnPtr.h>
namespace cc {
@@ -15,7 +15,6 @@ namespace cc {
// This class maintains a history of timestamps, and provides functionality to
// intelligently compute average frames per second (and standard deviation).
class CCFrameRateCounter {
- WTF_MAKE_NONCOPYABLE(CCFrameRateCounter);
public:
static PassOwnPtr<CCFrameRateCounter> create()
{
@@ -62,6 +61,8 @@ private:
double m_timeStampHistory[kTimeStampHistorySize];
int m_droppedFrameCount;
+
+ DISALLOW_COPY_AND_ASSIGN(CCFrameRateCounter);
};
} // namespace cc
« no previous file with comments | « cc/CCFontAtlas.h ('k') | cc/CCGraphicsContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698