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

Unified Diff: mojo/ui/ganesh_view.cc

Issue 1660143006: Mojo C++ bindings: Move MakeProxy() -> InterfacePtr::Create(). (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: fix failed 'gn' Created 4 years, 10 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: mojo/ui/ganesh_view.cc
diff --git a/mojo/ui/ganesh_view.cc b/mojo/ui/ganesh_view.cc
index c70038096e380d593cd75d7b4540801af1f7da95..56962e561ccd35f039350cd787e8dbf91d541e24 100644
--- a/mojo/ui/ganesh_view.cc
+++ b/mojo/ui/ganesh_view.cc
@@ -16,7 +16,8 @@ GaneshView::GaneshView(
const std::string& label,
const mojo::ui::ViewProvider::CreateViewCallback& create_view_callback)
: BaseView(app_impl, label, create_view_callback),
- gl_context_owner_(mojo::MakeProxy(app_impl->CreateApplicationConnector())
+ gl_context_owner_(mojo::ApplicationConnectorPtr::Create(
+ app_impl->CreateApplicationConnector())
.get()),
ganesh_context_(gl_context()),
ganesh_renderer_(&ganesh_context_) {}

Powered by Google App Engine
This is Rietveld 408576698