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

Unified Diff: mojo/shell/context.cc

Issue 734273002: Cleanse mojo/services/gles2 of InterfaceImpl (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Moar interface request 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
« no previous file with comments | « mojo/services/native_viewport/main.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/context.cc
diff --git a/mojo/shell/context.cc b/mojo/shell/context.cc
index c9fa227f2381c8ca2ccd2acc74ded637f6101a01..5771fb6693ea768a77088d294f56e073c5decad5 100644
--- a/mojo/shell/context.cc
+++ b/mojo/shell/context.cc
@@ -164,8 +164,7 @@ class Context::NativeViewportApplicationLoader
// InterfaceFactory<Gpu> implementation.
virtual void Create(ApplicationConnection* connection,
InterfaceRequest<Gpu> request) override {
- BindToRequest(new GpuImpl(share_group_.get(), mailbox_manager_.get()),
- &request);
+ new GpuImpl(request.Pass(), share_group_.get(), mailbox_manager_.get());
}
scoped_refptr<gfx::GLShareGroup> share_group_;
« no previous file with comments | « mojo/services/native_viewport/main.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698