Index: services/fake_surfaces/fake_surfaces_service_application.cc |
diff --git a/services/fake_surfaces/fake_surfaces_service_application.cc b/services/fake_surfaces/fake_surfaces_service_application.cc |
index 8db908e4aa964f8be36362b7b083a042413644b4..70e4aa33eeb0ef52d6654d0df32720e17d063c02 100644 |
--- a/services/fake_surfaces/fake_surfaces_service_application.cc |
+++ b/services/fake_surfaces/fake_surfaces_service_application.cc |
@@ -17,11 +17,13 @@ namespace fake_surfaces { |
class FakeSurfaceImpl : public mojo::Surface { |
public: |
FakeSurfaceImpl(uint32_t id_namespace, mojo::SurfacePtr* ptr) |
- : binding_(this, ptr) {} |
+ : binding_(this, ptr) { |
+ binding_.client()->SetIdNamespace(id_namespace); |
+ } |
~FakeSurfaceImpl() override {} |
// mojo::Surface implementation. |
- void CreateSurface(mojo::SurfaceIdPtr id, mojo::SizePtr size) override {} |
+ void CreateSurface(mojo::SurfaceIdPtr id) override {} |
void SubmitFrame(mojo::SurfaceIdPtr id, |
mojo::FramePtr frame, |