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

Unified Diff: sky/viewer/document_view.cc

Issue 978603002: Fixes ViewManagerClient name in sky (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 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
« no previous file with comments | « sky/viewer/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/viewer/document_view.cc
diff --git a/sky/viewer/document_view.cc b/sky/viewer/document_view.cc
index 8adb9930061c923b4c282f90621ec877580d7f10..00377b2fe3911b567559ac4387a5fc6be63e16fd 100644
--- a/sky/viewer/document_view.cc
+++ b/sky/viewer/document_view.cc
@@ -17,6 +17,7 @@
#include "mojo/public/interfaces/application/shell.mojom.h"
#include "mojo/services/view_manager/public/cpp/view.h"
#include "mojo/services/view_manager/public/cpp/view_manager.h"
+#include "mojo/services/view_manager/public/interfaces/view_manager.mojom.h"
#include "skia/ext/refptr.h"
#include "sky/compositor/layer.h"
#include "sky/compositor/layer_host.h"
@@ -369,7 +370,7 @@ void DocumentView::StartDebuggerInspectorBackend() {
void DocumentView::InitServiceRegistry() {
mojo::ConnectToService(imported_services_.get(), &service_registry_);
mojo::Array<mojo::String> interface_names(1);
- interface_names[0] = "ViewManagerClient";
+ interface_names[0] = mojo::ViewManagerClient::Name_;
mojo::ServiceProviderImpl* sp_impl(new mojo::ServiceProviderImpl());
sp_impl->AddService(&view_manager_client_factory_);
mojo::ServiceProviderPtr sp;
« no previous file with comments | « sky/viewer/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698