summaryrefslogtreecommitdiffstats
path: root/content/renderer/notification_permission_dispatcher.cc
diff options
context:
space:
mode:
authoramistry <amistry@chromium.org>2015-05-24 22:36:37 -0700
committerCommit bot <commit-bot@chromium.org>2015-05-25 05:37:02 +0000
commit573a743193fd64c35df6336ecba3b46e2d1955c8 (patch)
treecad5a2401a10381b9d337cad6d8be30d73cfd4e8 /content/renderer/notification_permission_dispatcher.cc
parentdaebca577af59c02c98f8d9e20cabefa7a3ad74a (diff)
downloadchromium_src-573a743193fd64c35df6336ecba3b46e2d1955c8.zip
chromium_src-573a743193fd64c35df6336ecba3b46e2d1955c8.tar.gz
chromium_src-573a743193fd64c35df6336ecba3b46e2d1955c8.tar.bz2
Remove ServiceRegistry::ConnectToRemoteService that takes an InterfacePtr<>.
Review URL: https://codereview.chromium.org/1145393002 Cr-Commit-Position: refs/heads/master@{#331259}
Diffstat (limited to 'content/renderer/notification_permission_dispatcher.cc')
-rw-r--r--content/renderer/notification_permission_dispatcher.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/renderer/notification_permission_dispatcher.cc b/content/renderer/notification_permission_dispatcher.cc
index 60cac36..90eef27 100644
--- a/content/renderer/notification_permission_dispatcher.cc
+++ b/content/renderer/notification_permission_dispatcher.cc
@@ -26,7 +26,7 @@ void NotificationPermissionDispatcher::RequestPermission(
blink::WebNotificationPermissionCallback* callback) {
if (!permission_service_.get()) {
render_frame()->GetServiceRegistry()->ConnectToRemoteService(
- &permission_service_);
+ mojo::GetProxy(&permission_service_));
}
int request_id = pending_requests_.Add(callback);