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

Unified Diff: cc/trees/single_thread_proxy.h

Issue 2324273002: Remove external begin frame source parameter and settings (Closed)
Patch Set: Rebase Created 4 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
Index: cc/trees/single_thread_proxy.h
diff --git a/cc/trees/single_thread_proxy.h b/cc/trees/single_thread_proxy.h
index 3b839f6c27cd452a19d522610f4406c807cc5cb0..c79663ff7d158b9850b5aa7bcc91674dfad73a20 100644
--- a/cc/trees/single_thread_proxy.h
+++ b/cc/trees/single_thread_proxy.h
@@ -27,7 +27,7 @@ class LayerTreeHostSingleThreadClient;
class CC_EXPORT SingleThreadProxy : public Proxy,
NON_EXPORTED_BASE(LayerTreeHostImplClient),
- SchedulerClient {
+ public SchedulerClient {
public:
static std::unique_ptr<Proxy> Create(
LayerTreeHostInProcess* layer_tree_host,
@@ -52,8 +52,7 @@ class CC_EXPORT SingleThreadProxy : public Proxy,
bool CommitRequested() const override;
bool BeginMainFrameRequested() const override;
void MainThreadHasStoppedFlinging() override {}
- void Start(
- std::unique_ptr<BeginFrameSource> external_begin_frame_source) override;
+ void Start() override;
void Stop() override;
void SetMutator(std::unique_ptr<LayerTreeMutator> mutator) override;
bool SupportsImplScrolling() const override;
@@ -134,7 +133,6 @@ class CC_EXPORT SingleThreadProxy : public Proxy,
std::unique_ptr<LayerTreeHostImpl> layer_tree_host_impl_;
// Accessed from both threads.
- std::unique_ptr<BeginFrameSource> external_begin_frame_source_;
std::unique_ptr<Scheduler> scheduler_on_impl_thread_;
std::unique_ptr<BlockingTaskRunner::CapturePostTasks>

Powered by Google App Engine
This is Rietveld 408576698