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

Unified Diff: cc/test/pixel_test.cc

Issue 2029323004: Get rid of virtual Display::CreateScheduler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@onscreendisplayclient
Patch Set: displaytest: ownership-all-the-things Created 4 years, 6 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/pixel_test.cc
diff --git a/cc/test/pixel_test.cc b/cc/test/pixel_test.cc
index 45cc38078331f8f3bc1559ba896be87733f6e27a..9e0e21970f3b5ce36eb222f34b95eaa2fec87f5a 100644
--- a/cc/test/pixel_test.cc
+++ b/cc/test/pixel_test.cc
@@ -128,9 +128,8 @@ void PixelTest::SetUpGLRenderer(bool use_skia_gpu_backend,
new TestInProcessContextProvider(nullptr));
scoped_refptr<TestInProcessContextProvider> worker(
new TestInProcessContextProvider(compositor.get()));
- output_surface_.reset(
- new PixelTestOutputSurface(std::move(compositor), std::move(worker),
- flipped_output_surface, nullptr));
+ output_surface_.reset(new PixelTestOutputSurface(
+ std::move(compositor), std::move(worker), flipped_output_surface));
output_surface_->BindToClient(output_surface_client_.get());
shared_bitmap_manager_.reset(new TestSharedBitmapManager);
@@ -176,7 +175,7 @@ void PixelTest::EnableExternalStencilTest() {
void PixelTest::SetUpSoftwareRenderer() {
std::unique_ptr<SoftwareOutputDevice> device(
new PixelTestSoftwareOutputDevice());
- output_surface_.reset(new PixelTestOutputSurface(std::move(device), nullptr));
+ output_surface_.reset(new PixelTestOutputSurface(std::move(device)));
output_surface_->BindToClient(output_surface_client_.get());
shared_bitmap_manager_.reset(new TestSharedBitmapManager());
bool delegated_sync_points_required = false; // Meaningless for software.

Powered by Google App Engine
This is Rietveld 408576698