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

Unified Diff: net/base/test_completion_callback_unittest.cc

Issue 2283373002: Remove unneeded scoped_refptr<>::get() on method binding (Closed)
Patch Set: Created 4 years, 4 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 | « jingle/notifier/listener/non_blocking_push_client.cc ('k') | net/cookies/cookie_monster_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/test_completion_callback_unittest.cc
diff --git a/net/base/test_completion_callback_unittest.cc b/net/base/test_completion_callback_unittest.cc
index 9a40b240fe249bc889f847b7b7dcb6c94ee136cb..a2bc49092ddd4b41004da6a4e38db924bfff8c90 100644
--- a/net/base/test_completion_callback_unittest.cc
+++ b/net/base/test_completion_callback_unittest.cc
@@ -112,9 +112,7 @@ bool ExampleEmployer::DoSomething(const CompletionCallback& callback) {
// Dispatch to worker thread...
if (!base::WorkerPool::PostTask(
- FROM_HERE,
- base::Bind(&ExampleWorker::DoWork, request_.get()),
- true)) {
+ FROM_HERE, base::Bind(&ExampleWorker::DoWork, request_), true)) {
NOTREACHED();
request_ = NULL;
return false;
« no previous file with comments | « jingle/notifier/listener/non_blocking_push_client.cc ('k') | net/cookies/cookie_monster_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698