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

Unified Diff: cc/CCScheduler.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/CCResourceProvider.h ('k') | cc/CCSchedulerStateMachine.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/CCScheduler.h
diff --git a/cc/CCScheduler.h b/cc/CCScheduler.h
index ce3609d565544cba3f176cd3e53d84061f726959..cc19b61c8df92004a81eb29cfa61dd1b748c948d 100644
--- a/cc/CCScheduler.h
+++ b/cc/CCScheduler.h
@@ -5,10 +5,10 @@
#ifndef CCScheduler_h
#define CCScheduler_h
+#include "base/basictypes.h"
+#include "base/time.h"
#include "CCFrameRateController.h"
#include "CCSchedulerStateMachine.h"
-#include "base/time.h"
-#include <wtf/Noncopyable.h>
#include <wtf/PassOwnPtr.h>
namespace cc {
@@ -45,7 +45,6 @@ protected:
};
class CCScheduler : CCFrameRateControllerClient {
- WTF_MAKE_NONCOPYABLE(CCScheduler);
public:
static PassOwnPtr<CCScheduler> create(CCSchedulerClient* client, PassOwnPtr<CCFrameRateController> frameRateController)
{
@@ -100,6 +99,8 @@ private:
OwnPtr<CCFrameRateController> m_frameRateController;
CCSchedulerStateMachine m_stateMachine;
bool m_insideProcessScheduledActions;
+
+ DISALLOW_COPY_AND_ASSIGN(CCScheduler);
};
}
« no previous file with comments | « cc/CCResourceProvider.h ('k') | cc/CCSchedulerStateMachine.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698