Index: examples/surfaces_app/embedder.h |
diff --git a/examples/surfaces_app/embedder.h b/examples/surfaces_app/embedder.h |
index f7c08ff7dabd60e4693f50c0cf4221282485b2ea..b8c70c4c5635040940ebcea2322d2d1b9cc2f00d 100644 |
--- a/examples/surfaces_app/embedder.h |
+++ b/examples/surfaces_app/embedder.h |
@@ -23,12 +23,9 @@ namespace examples { |
// Simple example of a surface embedder that embeds two other surfaces. |
class Embedder { |
public: |
- Embedder(); |
+ Embedder(uint32_t local_id, Surface* surface); |
~Embedder(); |
- void set_surface(Surface* surface) { surface_ = surface; } |
- void set_surface_id(SurfaceIdPtr id) { id_ = id.Clone(); } |
- |
void ProduceFrame(cc::SurfaceId child_one, |
cc::SurfaceId child_two, |
const gfx::Size& child_size, |
@@ -36,7 +33,7 @@ class Embedder { |
int offset); |
private: |
- SurfaceIdPtr id_; |
+ uint32_t local_id_; |
Surface* surface_; |
DISALLOW_COPY_AND_ASSIGN(Embedder); |