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

Unified Diff: cc/layers/ui_resource_layer_impl_unittest.cc

Issue 1385043002: cc: Remove SetLayerTreeHostClientReady() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@startcomp
Patch Set: sky's offline comment Created 5 years, 2 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/layers/texture_layer_unittest.cc ('k') | cc/scheduler/scheduler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/ui_resource_layer_impl_unittest.cc
diff --git a/cc/layers/ui_resource_layer_impl_unittest.cc b/cc/layers/ui_resource_layer_impl_unittest.cc
index 826c53f8181a953eb8e54bffbd77aeb197d9aae7..95a59670d1d4589aafb366ef9c45190c4cff5f2d 100644
--- a/cc/layers/ui_resource_layer_impl_unittest.cc
+++ b/cc/layers/ui_resource_layer_impl_unittest.cc
@@ -63,6 +63,7 @@ TEST(UIResourceLayerImplTest, VerifyDrawQuads) {
scoped_ptr<OutputSurface> output_surface = FakeOutputSurface::Create3d();
FakeUIResourceLayerTreeHostImpl host_impl(&proxy, &shared_bitmap_manager,
&task_graph_runner);
+ host_impl.SetVisible(true);
host_impl.InitializeRenderer(output_surface.get());
// Make sure we're appending quads when there are valid values.
@@ -110,6 +111,7 @@ TEST(UIResourceLayerImplTest, VerifySetOpaqueOnSkBitmap) {
scoped_ptr<OutputSurface> output_surface = FakeOutputSurface::Create3d();
FakeUIResourceLayerTreeHostImpl host_impl(&proxy, &shared_bitmap_manager,
&task_graph_runner);
+ host_impl.SetVisible(true);
host_impl.InitializeRenderer(output_surface.get());
gfx::Size bitmap_size(100, 100);
@@ -141,6 +143,7 @@ TEST(UIResourceLayerImplTest, VerifySetOpaqueOnLayer) {
scoped_ptr<OutputSurface> output_surface = FakeOutputSurface::Create3d();
FakeUIResourceLayerTreeHostImpl host_impl(&proxy, &shared_bitmap_manager,
&task_graph_runner);
+ host_impl.SetVisible(true);
host_impl.InitializeRenderer(output_surface.get());
gfx::Size bitmap_size(100, 100);
« no previous file with comments | « cc/layers/texture_layer_unittest.cc ('k') | cc/scheduler/scheduler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698