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

Unified Diff: cc/test/fake_external_begin_frame_source.h

Issue 1778853003: Fold BeginFrameSource::SetClientReady into AddObserver (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@scheduler_always_external
Patch Set: Created 4 years, 9 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/surfaces/surface_manager_unittest.cc ('k') | cc/test/fake_external_begin_frame_source.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_external_begin_frame_source.h
diff --git a/cc/test/fake_external_begin_frame_source.h b/cc/test/fake_external_begin_frame_source.h
index 99dbf56ef1999a3686ce986fae5751c6e6c9ddf0..1653decf8cc86465af54b7859f06d9a28e74bff7 100644
--- a/cc/test/fake_external_begin_frame_source.h
+++ b/cc/test/fake_external_begin_frame_source.h
@@ -17,11 +17,6 @@ class FakeExternalBeginFrameSource
explicit FakeExternalBeginFrameSource(double refresh_rate);
~FakeExternalBeginFrameSource() override;
- bool is_ready() const { return is_ready_; }
-
- // BeginFrameSource implementation.
- void SetClientReady() override;
-
// BeginFrameSourceBase overrides.
void OnNeedsBeginFramesChanged(bool needs_begin_frames) override;
@@ -30,7 +25,6 @@ class FakeExternalBeginFrameSource
private:
double milliseconds_per_frame_;
- bool is_ready_;
base::CancelableClosure begin_frame_task_;
base::WeakPtrFactory<FakeExternalBeginFrameSource> weak_ptr_factory_;
};
« no previous file with comments | « cc/surfaces/surface_manager_unittest.cc ('k') | cc/test/fake_external_begin_frame_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698