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

Unified Diff: cc/layers/video_layer_impl_unittest.cc

Issue 2032303004: cc : Add layer_list to LayerTreeImpl and build it for tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « cc/layers/scrollbar_layer_unittest.cc ('k') | cc/test/fake_layer_tree_host_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/video_layer_impl_unittest.cc
diff --git a/cc/layers/video_layer_impl_unittest.cc b/cc/layers/video_layer_impl_unittest.cc
index 38ea21d01b3f94eef1ddd0f87530c76cc9ef1961..b3f3da9a1eeb88ff69c1645ee18098ccc050f33f 100644
--- a/cc/layers/video_layer_impl_unittest.cc
+++ b/cc/layers/video_layer_impl_unittest.cc
@@ -110,7 +110,7 @@ TEST(VideoLayerImplTest, OccludesOtherLayers) {
layer_impl->AddChild(std::move(video_layer_impl));
active_tree->SetRootLayer(std::move(layer_impl));
- active_tree->BuildPropertyTreesForTesting();
+ active_tree->BuildLayerListAndPropertyTreesForTesting();
active_tree->UpdateDrawProperties(false);
@@ -312,7 +312,7 @@ TEST(VideoLayerImplTest, SoftwareVideoFrameGeneratesYUVQuad) {
impl.AddChildToRoot<VideoLayerImpl>(&provider, media::VIDEO_ROTATION_0);
video_layer_impl->SetBounds(layer_size);
video_layer_impl->SetDrawsContent(true);
- impl.host_impl()->active_tree()->BuildPropertyTreesForTesting();
+ impl.host_impl()->active_tree()->BuildLayerListAndPropertyTreesForTesting();
gfx::Rect occluded;
impl.AppendQuadsWithOcclusion(video_layer_impl, occluded);
@@ -356,7 +356,7 @@ TEST(VideoLayerImplTest, NativeYUVFrameGeneratesYUVQuad) {
impl.AddChildToRoot<VideoLayerImpl>(&provider, media::VIDEO_ROTATION_0);
video_layer_impl->SetBounds(layer_size);
video_layer_impl->SetDrawsContent(true);
- impl.host_impl()->active_tree()->BuildPropertyTreesForTesting();
+ impl.host_impl()->active_tree()->BuildLayerListAndPropertyTreesForTesting();
gfx::Rect occluded;
impl.AppendQuadsWithOcclusion(video_layer_impl, occluded);
« no previous file with comments | « cc/layers/scrollbar_layer_unittest.cc ('k') | cc/test/fake_layer_tree_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698