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

Unified Diff: cc/test/fake_output_surface.h

Issue 1356463002: Revert of cc: Implement shared worker contexts. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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/raster/tile_task_worker_pool_unittest.cc ('k') | cc/test/fake_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_output_surface.h
diff --git a/cc/test/fake_output_surface.h b/cc/test/fake_output_surface.h
index d2af2e3d44c7400bf163e7dba965318379b9a862..066f0272cf41bfb68da9e4ae8ead898a83864fd9 100644
--- a/cc/test/fake_output_surface.h
+++ b/cc/test/fake_output_surface.h
@@ -23,15 +23,14 @@
~FakeOutputSurface() override;
static scoped_ptr<FakeOutputSurface> Create3d() {
- return make_scoped_ptr(
- new FakeOutputSurface(TestContextProvider::Create(),
- TestContextProvider::CreateWorker(), false));
+ return make_scoped_ptr(new FakeOutputSurface(
+ TestContextProvider::Create(), TestContextProvider::Create(), false));
}
static scoped_ptr<FakeOutputSurface> Create3d(
scoped_refptr<ContextProvider> context_provider) {
return make_scoped_ptr(new FakeOutputSurface(
- context_provider, TestContextProvider::CreateWorker(), false));
+ context_provider, TestContextProvider::Create(), false));
}
static scoped_ptr<FakeOutputSurface> Create3d(
@@ -45,7 +44,7 @@
scoped_ptr<TestWebGraphicsContext3D> context) {
return make_scoped_ptr(
new FakeOutputSurface(TestContextProvider::Create(context.Pass()),
- TestContextProvider::CreateWorker(), false));
+ TestContextProvider::Create(), false));
}
static scoped_ptr<FakeOutputSurface> CreateSoftware(
@@ -55,22 +54,21 @@
}
static scoped_ptr<FakeOutputSurface> CreateDelegating3d() {
- return make_scoped_ptr(
- new FakeOutputSurface(TestContextProvider::Create(),
- TestContextProvider::CreateWorker(), true));
+ return make_scoped_ptr(new FakeOutputSurface(
+ TestContextProvider::Create(), TestContextProvider::Create(), true));
}
static scoped_ptr<FakeOutputSurface> CreateDelegating3d(
scoped_refptr<TestContextProvider> context_provider) {
return make_scoped_ptr(new FakeOutputSurface(
- context_provider, TestContextProvider::CreateWorker(), true));
+ context_provider, TestContextProvider::Create(), true));
}
static scoped_ptr<FakeOutputSurface> CreateDelegating3d(
scoped_ptr<TestWebGraphicsContext3D> context) {
return make_scoped_ptr(
new FakeOutputSurface(TestContextProvider::Create(context.Pass()),
- TestContextProvider::CreateWorker(), true));
+ TestContextProvider::Create(), true));
}
static scoped_ptr<FakeOutputSurface> CreateDelegatingSoftware(
« no previous file with comments | « cc/raster/tile_task_worker_pool_unittest.cc ('k') | cc/test/fake_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698