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

Unified Diff: mojo/ui/gl_renderer_unittest.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_renderer_unittest.cc
diff --git a/mojo/ui/gl_renderer_unittest.cc b/mojo/ui/gl_renderer_unittest.cc
index c9ffabdfc612ed64f681c857476146c0ccd8914e..82c31916efbde382c45b84dd0fe4bc8d6f90e495 100644
--- a/mojo/ui/gl_renderer_unittest.cc
+++ b/mojo/ui/gl_renderer_unittest.cc
@@ -26,7 +26,8 @@ class GLRendererTest : public mojo::test::ApplicationTestBase {
void SetUp() override {
mojo::test::ApplicationTestBase::SetUp();
gl_context_ = mojo::GLContext::CreateOffscreen(
- mojo::MakeProxy(application_impl()->CreateApplicationConnector())
+ mojo::ApplicationConnectorPtr::Create(
+ application_impl()->CreateApplicationConnector())
.get());
quit_message_loop_callback_ = base::Bind(
&GLRendererTest::QuitMessageLoopCallback, weak_factory_.GetWeakPtr());

Powered by Google App Engine
This is Rietveld 408576698