Index: components/resource_provider/resource_provider_app.cc |
diff --git a/components/resource_provider/resource_provider_app.cc b/components/resource_provider/resource_provider_app.cc |
index e62438ec83d0bea60e2d9430eb7b440a3bd1b234..6d93f2193fb01232deba72314e556302e6f16589 100644 |
--- a/components/resource_provider/resource_provider_app.cc |
+++ b/components/resource_provider/resource_provider_app.cc |
@@ -32,7 +32,7 @@ bool ResourceProviderApp::AcceptConnection(mojo::Connection* connection) { |
if (app_path.empty()) |
return false; // The specified app has no resources. |
- connection->AddService<ResourceProvider>(this); |
+ connection->AddInterface<ResourceProvider>(this); |
return true; |
} |