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

Unified Diff: cc/surfaces/surface_id_allocator.h

Issue 2388753003: Introduce cc::LocalFrameId and use in SurfaceFactory (Closed)
Patch Set: Fix exo_unittests Created 4 years, 2 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: cc/surfaces/surface_id_allocator.h
diff --git a/cc/surfaces/surface_id_allocator.h b/cc/surfaces/surface_id_allocator.h
index d5a93b7002b8e016693b2e20e31bed81b68dff66..8d2d79f025ec57e792c8e62ec7fad1bbcfd4529c 100644
--- a/cc/surfaces/surface_id_allocator.h
+++ b/cc/surfaces/surface_id_allocator.h
@@ -18,14 +18,12 @@ namespace cc {
// class in a mutex.
class CC_SURFACES_EXPORT SurfaceIdAllocator {
public:
- explicit SurfaceIdAllocator(const FrameSinkId& frame_sink_id);
+ SurfaceIdAllocator();
~SurfaceIdAllocator();
- SurfaceId GenerateId();
+ LocalFrameId GenerateId();
private:
- const FrameSinkId frame_sink_id_;
-
uint32_t next_id_;
DISALLOW_COPY_AND_ASSIGN(SurfaceIdAllocator);

Powered by Google App Engine
This is Rietveld 408576698