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

Unified Diff: mojo/ui/gl_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/gl_view.cc
diff --git a/mojo/ui/gl_view.cc b/mojo/ui/gl_view.cc
index 3e7fea39dcfeefc361b33fad8c3e2bd667359ac7..d07b8cd74ef0bd82c87a4a75430de3be2143cddd 100644
--- a/mojo/ui/gl_view.cc
+++ b/mojo/ui/gl_view.cc
@@ -14,7 +14,8 @@ GLView::GLView(
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_(ApplicationConnectorPtr::Create(
+ app_impl->CreateApplicationConnector())
.get()),
gl_renderer_(gl_context_owner_.context()) {}

Powered by Google App Engine
This is Rietveld 408576698