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

Unified Diff: shell/android/native_viewport_application_loader.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: shell/android/native_viewport_application_loader.cc
diff --git a/shell/android/native_viewport_application_loader.cc b/shell/android/native_viewport_application_loader.cc
index 6306c805b55c8b307780b08c1cf486193c8c2247..cd27ba472375c835efef6ef5a182e18aad77d267 100644
--- a/shell/android/native_viewport_application_loader.cc
+++ b/shell/android/native_viewport_application_loader.cc
@@ -42,8 +42,7 @@ bool NativeViewportApplicationLoader::ConfigureIncomingConnection(
void NativeViewportApplicationLoader::Create(
ApplicationConnection* connection,
InterfaceRequest<NativeViewport> request) {
- BindToRequest(new native_viewport::NativeViewportImpl(app_.get(), false),
- &request);
+ new native_viewport::NativeViewportImpl(app_.get(), false, request.Pass());
}
void NativeViewportApplicationLoader::Create(

Powered by Google App Engine
This is Rietveld 408576698