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

Unified Diff: content/browser/renderer_host/offscreen_canvas_surface_manager_unittest.cc

Issue 2708153005: Rename SurfaceIdAllocator to LocalSurfaceIdAllocator (Closed)
Patch Set: Created 3 years, 10 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
Index: content/browser/renderer_host/offscreen_canvas_surface_manager_unittest.cc
diff --git a/content/browser/renderer_host/offscreen_canvas_surface_manager_unittest.cc b/content/browser/renderer_host/offscreen_canvas_surface_manager_unittest.cc
index 6bd8388199888778cfbbb14759b903c0f3256927..5755ff17cac8316ba35f567c417f44f368b62763 100644
--- a/content/browser/renderer_host/offscreen_canvas_surface_manager_unittest.cc
+++ b/content/browser/renderer_host/offscreen_canvas_surface_manager_unittest.cc
@@ -72,9 +72,9 @@ TEST_F(OffscreenCanvasSurfaceManagerTest,
SingleHTMLCanvasElementTransferToOffscreen) {
cc::mojom::DisplayCompositorClientPtr client;
cc::FrameSinkId frame_sink_id(3, 3);
- cc::SurfaceIdAllocator surface_id_allocator;
+ cc::LocalSurfaceIdAllocator local_surface_id_allocator;
cc::LocalSurfaceId current_local_surface_id(
- surface_id_allocator.GenerateId());
+ local_surface_id_allocator.GenerateId());
auto surface_impl = base::WrapUnique(new OffscreenCanvasSurfaceImpl(
cc::FrameSinkId(), frame_sink_id, std::move(client)));
@@ -96,7 +96,7 @@ TEST_F(OffscreenCanvasSurfaceManagerTest,
cc::mojom::DisplayCompositorClientPtr client_a;
cc::FrameSinkId dummy_parent_frame_sink_id(0, 0);
cc::FrameSinkId frame_sink_id_a(3, 3);
- cc::SurfaceIdAllocator surface_id_allocator;
+ cc::LocalSurfaceIdAllocator local_surface_id_allocator;
auto surface_impl_a = base::WrapUnique(new OffscreenCanvasSurfaceImpl(
dummy_parent_frame_sink_id, frame_sink_id_a, std::move(client_a)));

Powered by Google App Engine
This is Rietveld 408576698