| Index: sky/viewer/viewer.cc
|
| diff --git a/sky/viewer/viewer.cc b/sky/viewer/viewer.cc
|
| index c1bbe5ace60cddff66bd34fc0e039bdfde335b1a..3bbfbfa03a7d7707c68c59a9737b3c50e021f052 100644
|
| --- a/sky/viewer/viewer.cc
|
| +++ b/sky/viewer/viewer.cc
|
| @@ -33,7 +33,6 @@ class Viewer : public mojo::ApplicationDelegate,
|
| private:
|
| // Overridden from ApplicationDelegate:
|
| virtual void Initialize(mojo::ApplicationImpl* app) override {
|
| - shell_ = app->shell();
|
| platform_impl_.reset(new PlatformImpl(app));
|
| blink::initialize(platform_impl_.get());
|
| // FIXME: Why not in the component build?
|
| @@ -54,12 +53,11 @@ class Viewer : public mojo::ApplicationDelegate,
|
| virtual void Create(mojo::ApplicationConnection* connection,
|
| mojo::InterfaceRequest<mojo::ContentHandler> request) override {
|
| mojo::BindToRequest(
|
| - new ContentHandlerImpl(shell_, compositor_thread_.message_loop_proxy()),
|
| + new ContentHandlerImpl(compositor_thread_.message_loop_proxy()),
|
| &request);
|
| }
|
|
|
| scoped_ptr<PlatformImpl> platform_impl_;
|
| - mojo::Shell* shell_;
|
| base::Thread compositor_thread_;
|
|
|
| TracingFactory tracing_;
|
|
|