summaryrefslogtreecommitdiffstats
path: root/components/resource_provider
diff options
context:
space:
mode:
authorben <ben@chromium.org>2016-02-10 09:38:24 -0800
committerCommit bot <commit-bot@chromium.org>2016-02-10 17:42:11 +0000
commite3bc902fc899ba677f5cb8eeefd48da06b4db3c0 (patch)
tree98a4d9fa00182e128c83e2059bdb3bbd2e2f3cc2 /components/resource_provider
parent7e5601748339cbe7943b0c0ec1f8333415e1d431 (diff)
downloadchromium_src-e3bc902fc899ba677f5cb8eeefd48da06b4db3c0.zip
chromium_src-e3bc902fc899ba677f5cb8eeefd48da06b4db3c0.tar.gz
chromium_src-e3bc902fc899ba677f5cb8eeefd48da06b4db3c0.tar.bz2
Rename ConnectToService to ConnectToInterface()
TBR=rockot@chromium.org BUG= Review URL: https://codereview.chromium.org/1687693002 Cr-Commit-Position: refs/heads/master@{#374677}
Diffstat (limited to 'components/resource_provider')
-rw-r--r--components/resource_provider/public/cpp/resource_loader.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/resource_provider/public/cpp/resource_loader.cc b/components/resource_provider/public/cpp/resource_loader.cc
index 866c594..1bd8b7c 100644
--- a/components/resource_provider/public/cpp/resource_loader.cc
+++ b/components/resource_provider/public/cpp/resource_loader.cc
@@ -29,7 +29,7 @@ base::File GetFileFromHandle(mojo::ScopedHandle handle) {
ResourceLoader::ResourceLoader(mojo::Shell* shell,
const std::set<std::string>& paths)
: loaded_(false), did_block_(false) {
- shell->ConnectToService("mojo:resource_provider", &resource_provider_);
+ shell->ConnectToInterface("mojo:resource_provider", &resource_provider_);
std::vector<std::string> paths_vector(paths.begin(), paths.end());
resource_provider_->GetResources(
mojo::Array<mojo::String>::From(paths_vector),