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

Unified Diff: cc/test/proxy_main_for_test.cc

Issue 1520623003: cc:: Change plumbing for external_begin_frame_source to the Scheduler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Missing include. Created 5 years 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/test/proxy_main_for_test.h ('k') | cc/trees/layer_tree_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/proxy_main_for_test.cc
diff --git a/cc/test/proxy_main_for_test.cc b/cc/test/proxy_main_for_test.cc
index 4588422e09abaa642ce81edf087c8c0166170e01..dcac9a084c4d5e06a3f229fcc26be47f9cb84152 100644
--- a/cc/test/proxy_main_for_test.cc
+++ b/cc/test/proxy_main_for_test.cc
@@ -11,11 +11,9 @@ namespace cc {
scoped_ptr<ProxyMain> ProxyMainForTest::CreateThreaded(
TestHooks* test_hooks,
LayerTreeHost* host,
- TaskRunnerProvider* task_runner_provider,
- scoped_ptr<BeginFrameSource> external_begin_frame_source) {
+ TaskRunnerProvider* task_runner_provider) {
scoped_ptr<ProxyMain> proxy_main(
- new ProxyMainForTest(test_hooks, host, task_runner_provider,
- std::move(external_begin_frame_source)));
+ new ProxyMainForTest(test_hooks, host, task_runner_provider));
proxy_main->SetChannel(ThreadedChannelForTest::Create(
test_hooks, proxy_main.get(), task_runner_provider));
return proxy_main;
@@ -23,15 +21,10 @@ scoped_ptr<ProxyMain> ProxyMainForTest::CreateThreaded(
ProxyMainForTest::~ProxyMainForTest() {}
-ProxyMainForTest::ProxyMainForTest(
- TestHooks* test_hooks,
- LayerTreeHost* host,
- TaskRunnerProvider* task_runner_provider,
- scoped_ptr<BeginFrameSource> external_begin_frame_source)
- : ProxyMain(host,
- task_runner_provider,
- std::move(external_begin_frame_source)),
- test_hooks_(test_hooks) {}
+ProxyMainForTest::ProxyMainForTest(TestHooks* test_hooks,
+ LayerTreeHost* host,
+ TaskRunnerProvider* task_runner_provider)
+ : ProxyMain(host, task_runner_provider), test_hooks_(test_hooks) {}
void ProxyMainForTest::SetNeedsUpdateLayers() {
ProxyMain::SetNeedsUpdateLayers();
« no previous file with comments | « cc/test/proxy_main_for_test.h ('k') | cc/trees/layer_tree_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698