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

Unified Diff: cc/test/pixel_test.cc

Issue 2238693002: Plumb SetVisible from ui::Compositor to the DirectRenderer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: setvisible-browser: onemore Created 4 years, 4 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/test/fake_external_begin_frame_source.h ('k') | cc/test/test_delegating_output_surface.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/pixel_test.cc
diff --git a/cc/test/pixel_test.cc b/cc/test/pixel_test.cc
index ad08fc8de8990f50aff0a8368bdd259a2974ea68..250eb2100390dbbc356c363933ca5b81fc1103d4 100644
--- a/cc/test/pixel_test.cc
+++ b/cc/test/pixel_test.cc
@@ -150,6 +150,7 @@ void PixelTest::SetUpGLRenderer(bool use_skia_gpu_backend,
renderer_ = base::MakeUnique<GLRenderer>(
this, &settings_.renderer_settings, output_surface_.get(),
resource_provider_.get(), texture_mailbox_deleter_.get(), 0);
+ renderer_->SetVisible(true);
}
void PixelTest::ForceExpandedViewport(const gfx::Size& surface_expansion) {
@@ -192,6 +193,7 @@ void PixelTest::SetUpSoftwareRenderer() {
resource_provider_.get());
software_renderer_ = renderer.get();
renderer_ = std::move(renderer);
+ renderer_->SetVisible(true);
}
} // namespace cc
« no previous file with comments | « cc/test/fake_external_begin_frame_source.h ('k') | cc/test/test_delegating_output_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698