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

Unified Diff: content/browser/frame_host/render_frame_host_impl.cc

Issue 663563002: Use scoped_ptr::Pass instead of scoped_ptr::PassAs<T>. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
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;
}
« no previous file with comments | « content/browser/download/download_file_unittest.cc ('k') | content/browser/gpu/browser_gpu_memory_buffer_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698