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

Unified Diff: components/font_service/public/cpp/font_loader.cc

Issue 1725353003: Eliminate mojo::Shell client lib class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@15connector
Patch Set: . 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
« no previous file with comments | « components/font_service/public/cpp/font_loader.h ('k') | components/leveldb/leveldb_app.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/font_service/public/cpp/font_loader.cc
diff --git a/components/font_service/public/cpp/font_loader.cc b/components/font_service/public/cpp/font_loader.cc
index 719d63d9f10230a9975c1c4f636bbafd284e1b35..03df30fc1e714cc80dced6cf791b526f3fa162c8 100644
--- a/components/font_service/public/cpp/font_loader.cc
+++ b/components/font_service/public/cpp/font_loader.cc
@@ -9,13 +9,13 @@
#include "base/bind.h"
#include "base/trace_event/trace_event.h"
#include "components/font_service/public/cpp/font_service_thread.h"
-#include "mojo/shell/public/cpp/shell.h"
+#include "mojo/shell/public/cpp/connector.h"
namespace font_service {
-FontLoader::FontLoader(mojo::Shell* shell) {
+FontLoader::FontLoader(mojo::Connector* connector) {
FontServicePtr font_service;
- shell->ConnectToInterface("mojo:font_service", &font_service);
+ connector->ConnectToInterface("mojo:font_service", &font_service);
thread_ = new internal::FontServiceThread(std::move(font_service));
}
« no previous file with comments | « components/font_service/public/cpp/font_loader.h ('k') | components/leveldb/leveldb_app.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698