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

Unified Diff: services/native_viewport/main.cc

Issue 878933005: Remove NativeViewportClient (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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
Index: services/native_viewport/main.cc
diff --git a/services/native_viewport/main.cc b/services/native_viewport/main.cc
index 630e10f53fefd134c1acd530122f4de64f97f355..44b5411b7f307b38bd484870bd2e3666801980c9 100644
--- a/services/native_viewport/main.cc
+++ b/services/native_viewport/main.cc
@@ -55,7 +55,7 @@ class NativeViewportAppDelegate : public mojo::ApplicationDelegate,
// mojo::InterfaceFactory<NativeViewport> implementation.
void Create(ApplicationConnection* connection,
mojo::InterfaceRequest<NativeViewport> request) override {
- BindToRequest(new NativeViewportImpl(app_, is_headless_), &request);
+ new NativeViewportImpl(app_, is_headless_, request.Pass());
}
// mojo::InterfaceFactory<Gpu> implementation.

Powered by Google App Engine
This is Rietveld 408576698