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

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: unusedvar 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 979165b11d9f6a984929fefe7db26d9eb2d4f622..416f614b9915de985710f36aca8c36ccc357bf59 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.
« no previous file with comments | « cc/surfaces/surface_display_output_surface_unittest.cc ('k') | cc/test/pixel_test_delegating_output_surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698