Index: cc/surfaces/surface_id_allocator.cc |
diff --git a/cc/surfaces/surface_id_allocator.cc b/cc/surfaces/surface_id_allocator.cc |
index dfd079d3e5636dcee55f4db758c4de974b924584..af4d5932df723a6da76dc79377e0430248785966 100644 |
--- a/cc/surfaces/surface_id_allocator.cc |
+++ b/cc/surfaces/surface_id_allocator.cc |
@@ -10,15 +10,14 @@ |
namespace cc { |
-SurfaceIdAllocator::SurfaceIdAllocator(const FrameSinkId& frame_sink_id) |
- : frame_sink_id_(frame_sink_id), next_id_(1u) {} |
+SurfaceIdAllocator::SurfaceIdAllocator() : next_id_(1u) {} |
SurfaceIdAllocator::~SurfaceIdAllocator() { |
} |
-SurfaceId SurfaceIdAllocator::GenerateId() { |
+LocalFrameId SurfaceIdAllocator::GenerateId() { |
uint64_t nonce = base::RandUint64(); |
- SurfaceId id(frame_sink_id_, next_id_, nonce); |
+ LocalFrameId id(next_id_, nonce); |
next_id_++; |
return id; |
} |