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

Unified Diff: mojo/services/native_viewport/main.cc

Issue 734273002: Cleanse mojo/services/gles2 of InterfaceImpl (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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: mojo/services/native_viewport/main.cc
diff --git a/mojo/services/native_viewport/main.cc b/mojo/services/native_viewport/main.cc
index 6b6a9af74e207ca02019ff2ebea3d25e592f5ed8..4890f4713d763c22365d7d5130c6b568fbc9428b 100644
--- a/mojo/services/native_viewport/main.cc
+++ b/mojo/services/native_viewport/main.cc
@@ -61,8 +61,8 @@ class NativeViewportAppDelegate
// InterfaceFactory<Gpu> implementation.
void Create(ApplicationConnection* connection,
InterfaceRequest<Gpu> request) override {
- BindToRequest(new GpuImpl(share_group_.get(), mailbox_manager_.get()),
- &request);
+ new GpuImpl(request.PassMessagePipe(), share_group_.get(),
+ mailbox_manager_.get());
}
ApplicationImpl* app_;

Powered by Google App Engine
This is Rietveld 408576698