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

Unified Diff: ui/compositor/layer_unittest.cc

Issue 2661543002: Rename LocalFrameId to LocalSurfaceId (Closed)
Patch Set: c Created 3 years, 11 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 | « ui/android/delegated_frame_host_android.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/layer_unittest.cc
diff --git a/ui/compositor/layer_unittest.cc b/ui/compositor/layer_unittest.cc
index dce618331d5ad48edc48736b9cfcb23fe7ba4ea1..f25416552f5c7d0f0c419958dc1cd59eb371c7ff 100644
--- a/ui/compositor/layer_unittest.cc
+++ b/ui/compositor/layer_unittest.cc
@@ -1824,7 +1824,7 @@ TEST_F(LayerWithDelegateTest, ExternalContentMirroring) {
cc::SurfaceId surface_id(
cc::FrameSinkId(0, 1),
- cc::LocalFrameId(2, base::UnguessableToken::Create()));
+ cc::LocalSurfaceId(2, base::UnguessableToken::Create()));
cc::SurfaceInfo surface_info(surface_id, 1.0f, gfx::Size(10, 10));
layer->SetShowSurface(surface_info, new TestSurfaceReferenceFactory());
@@ -1837,7 +1837,7 @@ TEST_F(LayerWithDelegateTest, ExternalContentMirroring) {
surface_id =
cc::SurfaceId(cc::FrameSinkId(1, 2),
- cc::LocalFrameId(3, base::UnguessableToken::Create()));
+ cc::LocalSurfaceId(3, base::UnguessableToken::Create()));
cc::SurfaceInfo surface_info_2(surface_id, 2.0f, gfx::Size(20, 20));
layer->SetShowSurface(surface_info_2, new TestSurfaceReferenceFactory());
@@ -1855,7 +1855,7 @@ TEST_F(LayerWithDelegateTest, FrameSizeInDip) {
cc::SurfaceId surface_id(
cc::FrameSinkId(0, 1),
- cc::LocalFrameId(2, base::UnguessableToken::Create()));
+ cc::LocalSurfaceId(2, base::UnguessableToken::Create()));
layer->SetShowSurface(cc::SurfaceInfo(surface_id, 2.0f, gfx::Size(30, 40)),
new TestSurfaceReferenceFactory());
« no previous file with comments | « ui/android/delegated_frame_host_android.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698