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

Unified Diff: content/browser/renderer_host/pepper_message_filter.cc

Issue 9827005: Tweak a base::Passed() usage not to also Pass() from the scoped_ptr. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/pepper_message_filter.cc
diff --git a/content/browser/renderer_host/pepper_message_filter.cc b/content/browser/renderer_host/pepper_message_filter.cc
index 4b8ef39042d29800ef7430c410e963bea84bfbf2..283dfd7c06d13654ed4ba954031c90013459d1ed 100644
--- a/content/browser/renderer_host/pepper_message_filter.cc
+++ b/content/browser/renderer_host/pepper_message_filter.cc
@@ -861,7 +861,7 @@ void PepperMessageFilter::DoGetNetworkList() {
BrowserThread::PostTask(
BrowserThread::IO, FROM_HERE,
base::Bind(&PepperMessageFilter::SendNetworkList,
- this, base::Passed(list.Pass())));
+ this, base::Passed(&list)));
}
void PepperMessageFilter::SendNetworkList(
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698