| Index: sky/viewer/viewer.cc
|
| diff --git a/sky/viewer/viewer.cc b/sky/viewer/viewer.cc
|
| index 7ca33ee01a67061b3b2dc24615c1a4a2451138b1..192c83a48e4f82354d92ad07931a8b12ce05bfb9 100644
|
| --- a/sky/viewer/viewer.cc
|
| +++ b/sky/viewer/viewer.cc
|
| @@ -50,7 +50,7 @@ class Viewer : public mojo::ApplicationDelegate,
|
| // Overridden from InterfaceFactory<ContentHandler>
|
| virtual void Create(mojo::ApplicationConnection* connection,
|
| mojo::InterfaceRequest<mojo::ContentHandler> request) override {
|
| - mojo::BindToRequest(new ContentHandlerImpl(), &request);
|
| + new ContentHandlerImpl(request.Pass());
|
| }
|
|
|
| scoped_ptr<PlatformImpl> platform_impl_;
|
|
|