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

Unified Diff: cc/test/layer_tree_pixel_test.cc

Issue 1864373002: Remove unused features for in-process GL contexts. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: inproclost: . Created 4 years, 8 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/test/layer_tree_pixel_test.cc
diff --git a/cc/test/layer_tree_pixel_test.cc b/cc/test/layer_tree_pixel_test.cc
index 82045a42c43dd06e91333a64afef477faebc24f2..db86e7584e940e9a36443c0f1aa284ac04e79285 100644
--- a/cc/test/layer_tree_pixel_test.cc
+++ b/cc/test/layer_tree_pixel_test.cc
@@ -54,9 +54,12 @@ scoped_ptr<OutputSurface> LayerTreePixelTest::CreateOutputSurface() {
}
case PIXEL_TEST_GL: {
bool flipped_output_surface = false;
+ scoped_refptr<TestInProcessContextProvider> compositor(
+ new TestInProcessContextProvider(nullptr));
+ scoped_refptr<TestInProcessContextProvider> worker(
+ new TestInProcessContextProvider(compositor.get()));
output_surface = make_scoped_ptr(new PixelTestOutputSurface(
- new TestInProcessContextProvider, new TestInProcessContextProvider,
- flipped_output_surface));
+ std::move(compositor), std::move(worker), flipped_output_surface));
break;
}
}

Powered by Google App Engine
This is Rietveld 408576698