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

Unified Diff: services/ui/ws/frame_generator_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 | « services/ui/ws/frame_generator.cc ('k') | services/ui/ws/window_tree_client_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/frame_generator_unittest.cc
diff --git a/services/ui/ws/frame_generator_unittest.cc b/services/ui/ws/frame_generator_unittest.cc
index 27e2230384bb4c47e275b6db72451b1ecedf78cb..114924cadea1c03dac319754ab4be6c247a4d8d8 100644
--- a/services/ui/ws/frame_generator_unittest.cc
+++ b/services/ui/ws/frame_generator_unittest.cc
@@ -34,7 +34,7 @@ void InitWindow(ServerWindow* window) {
window->GetOrCreateCompositorFrameSinkManager();
compositor_frame_sink_manager->SetLatestSurfaceInfo(cc::SurfaceInfo(
cc::SurfaceId(cc::FrameSinkId(WindowIdToTransportId(window->id()), 0),
- cc::LocalFrameId(1u, kArbitraryToken)),
+ cc::LocalSurfaceId(1u, kArbitraryToken)),
1.0f, gfx::Size(100, 100)));
}
@@ -72,7 +72,7 @@ class FrameGeneratorTest : public testing::Test {
void FrameGeneratorTest::DrawWindow(cc::RenderPass* pass) {
cc::SurfaceId surface_id(cc::FrameSinkId(5, 5),
- cc::LocalFrameId(1u, kArbitraryToken));
+ cc::LocalSurfaceId(1u, kArbitraryToken));
frame_generator_->window_manager_surface_info_ =
cc::SurfaceInfo(surface_id, 2, gfx::Size(2, 2));
frame_generator_->DrawWindow(pass);
« no previous file with comments | « services/ui/ws/frame_generator.cc ('k') | services/ui/ws/window_tree_client_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698