Index: content/browser/frame_host/render_frame_host_impl.cc |
diff --git a/content/browser/frame_host/render_frame_host_impl.cc b/content/browser/frame_host/render_frame_host_impl.cc |
index d1a9fb4d59cb4e524f2464d02b63ee816ddf818e..4142e2a4d816ebc247958127f4103efa14806359 100644 |
--- a/content/browser/frame_host/render_frame_host_impl.cc |
+++ b/content/browser/frame_host/render_frame_host_impl.cc |
@@ -1002,10 +1002,7 @@ void RenderFrameHostImpl::OnShowDesktopNotification( |
base::Closure cancel_callback; |
GetContentClient()->browser()->ShowDesktopNotification( |
- params, |
- this, |
- delegate.PassAs<DesktopNotificationDelegate>(), |
- &cancel_callback); |
+ params, this, delegate.Pass(), &cancel_callback); |
cancel_notification_callbacks_[notification_id] = cancel_callback; |
} |