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

Unified Diff: sky/viewer/viewer.cc

Issue 687273002: mojo: Update content handler API (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Add missing comment Created 6 years, 2 months 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
« no previous file with comments | « sky/viewer/document_view.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « sky/viewer/document_view.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698