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

Unified Diff: mojo/ui/ganesh_view.cc

Issue 1983263002: Replace ApplicationImpl::CreateApplicationConnector() with a standalone helper function. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 7 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
« no previous file with comments | « mojo/public/cpp/application/lib/connect.cc ('k') | mojo/ui/gl_renderer_apptest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/ui/ganesh_view.cc
diff --git a/mojo/ui/ganesh_view.cc b/mojo/ui/ganesh_view.cc
index 7dc9c7d288518498f001052f008fc5f4853e6bf3..95b1170ee70b7c770a18fcd84fdc3c96eedf813b 100644
--- a/mojo/ui/ganesh_view.cc
+++ b/mojo/ui/ganesh_view.cc
@@ -5,6 +5,7 @@
#include "mojo/ui/ganesh_view.h"
#include "base/logging.h"
+#include "mojo/public/cpp/application/connect.h"
#include "mojo/skia/ganesh_texture_surface.h"
#include "third_party/skia/include/core/SkCanvas.h"
@@ -19,7 +20,7 @@ GaneshView::GaneshView(
ganesh_renderer_(
new mojo::skia::GaneshContext(mojo::GLContext::CreateOffscreen(
mojo::ApplicationConnectorPtr::Create(
- app_impl->CreateApplicationConnector())
+ mojo::CreateApplicationConnector(app_impl->shell()))
.get()))) {}
GaneshView::~GaneshView() {}
« no previous file with comments | « mojo/public/cpp/application/lib/connect.cc ('k') | mojo/ui/gl_renderer_apptest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698