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

Unified Diff: services/ui/ws/window_tree_client_unittest.cc

Issue 2527443002: Display Compositor: Allocate LocalFrameId in client. (Closed)
Patch Set: Rebased + Restored BUILD files Created 4 years, 1 month 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: services/ui/ws/window_tree_client_unittest.cc
diff --git a/services/ui/ws/window_tree_client_unittest.cc b/services/ui/ws/window_tree_client_unittest.cc
index 6a1cb4e283cddab4620d25c82d1d93d09281ee3c..fe6a01a58c863a5660211b465b3f92d38520359d 100644
--- a/services/ui/ws/window_tree_client_unittest.cc
+++ b/services/ui/ws/window_tree_client_unittest.cc
@@ -2167,7 +2167,9 @@ TEST_F(WindowTreeClientTest, SurfaceIdPropagation) {
render_pass->SetNew(cc::RenderPassId(1, 1), frame_rect, frame_rect,
gfx::Transform());
compositor_frame.render_pass_list.push_back(std::move(render_pass));
- surface_ptr->SubmitCompositorFrame(std::move(compositor_frame));
+ cc::LocalFrameId local_frame_id(1, base::UnguessableToken::Create());
+ surface_ptr->SubmitCompositorFrame(local_frame_id,
+ std::move(compositor_frame));
// Make sure the parent connection gets the surface ID.
wt_client1()->WaitForChangeCount(1);
// Verify that the submitted frame is for |window_2_101|.
« no previous file with comments | « services/ui/ws/frame_generator.cc ('k') | third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698