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

Unified Diff: cc/surfaces/display_scheduler.h

Issue 1136123009: Remove "mixin" from BeginFrameSource/Observer base classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updated comments Created 5 years, 6 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/scheduler/scheduler_unittest.cc ('k') | cc/surfaces/display_scheduler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/surfaces/display_scheduler.h
diff --git a/cc/surfaces/display_scheduler.h b/cc/surfaces/display_scheduler.h
index ae2ce8095e7eb1dbd76e1e7d61f2cb895839c538..6409c9bdfefbbca5534f0d8bf7025cbcb154bd61 100644
--- a/cc/surfaces/display_scheduler.h
+++ b/cc/surfaces/display_scheduler.h
@@ -26,7 +26,7 @@ class CC_SURFACES_EXPORT DisplaySchedulerClient {
virtual bool DrawAndSwap() = 0;
};
-class CC_SURFACES_EXPORT DisplayScheduler : public BeginFrameObserverMixIn {
+class CC_SURFACES_EXPORT DisplayScheduler : public BeginFrameObserverBase {
public:
DisplayScheduler(DisplaySchedulerClient* client,
BeginFrameSource* begin_frame_source,
@@ -44,8 +44,8 @@ class CC_SURFACES_EXPORT DisplayScheduler : public BeginFrameObserverMixIn {
void OutputSurfaceLost();
- // BeginFrameObserverMixIn implementation
- bool OnBeginFrameMixInDelegate(const BeginFrameArgs& args) override;
+ // BeginFrameObserverBase implementation
+ bool OnBeginFrameDerivedImpl(const BeginFrameArgs& args) override;
protected:
base::TimeTicks DesiredBeginFrameDeadlineTime();
« no previous file with comments | « cc/scheduler/scheduler_unittest.cc ('k') | cc/surfaces/display_scheduler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698