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

Unified Diff: sky/compositor/surface_allocator.h

Issue 807733002: Split surface id and simplify connecting to surfaces service (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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: sky/compositor/surface_allocator.h
diff --git a/sky/compositor/surface_allocator.h b/sky/compositor/surface_allocator.h
index 98feb1118a6924bf841a71ddbb6a7911fea716ff..5da7c6f11ec77b608015335e8a39ff13ea95d820 100644
--- a/sky/compositor/surface_allocator.h
+++ b/sky/compositor/surface_allocator.h
@@ -6,6 +6,7 @@
#define SKY_COMPOSITOR_SURFACE_ALLOCATOR_H_
#include "base/basictypes.h"
+#include "mojo/services/surfaces/public/interfaces/surface_id.mojom.h"
namespace sky {
@@ -14,7 +15,7 @@ class SurfaceAllocator {
SurfaceAllocator(uint32_t id_namespace);
~SurfaceAllocator();
- uint64_t CreateSurfaceId();
+ mojo::SurfaceIdPtr CreateSurfaceId();
private:
uint32_t id_namespace_;

Powered by Google App Engine
This is Rietveld 408576698