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

Unified Diff: net/proxy/network_delegate_error_observer_unittest.cc

Issue 11275088: Remove implicit scoped_refptr operator T* Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 8 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
« no previous file with comments | « net/proxy/mock_proxy_resolver.h ('k') | net/proxy/proxy_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/proxy/network_delegate_error_observer_unittest.cc
diff --git a/net/proxy/network_delegate_error_observer_unittest.cc b/net/proxy/network_delegate_error_observer_unittest.cc
index a0fc414e627eaa1aa49fbf8e02c608904d04e408..a2200638a3e6b622daa6ac3c55ca5d78c275555a 100644
--- a/net/proxy/network_delegate_error_observer_unittest.cc
+++ b/net/proxy/network_delegate_error_observer_unittest.cc
@@ -101,7 +101,7 @@ TEST(NetworkDelegateErrorObserverTest, CallOnThread) {
TestNetworkDelegate network_delegate;
NetworkDelegateErrorObserver
observer(&network_delegate,
- base::MessageLoopProxy::current());
+ base::MessageLoopProxy::current().get());
thread.message_loop()->PostTask(
FROM_HERE,
base::Bind(&NetworkDelegateErrorObserver::OnPACScriptError,
@@ -116,7 +116,7 @@ TEST(NetworkDelegateErrorObserverTest, NoDelegate) {
base::Thread thread("test_thread");
thread.Start();
NetworkDelegateErrorObserver
- observer(NULL, base::MessageLoopProxy::current());
+ observer(NULL, base::MessageLoopProxy::current().get());
thread.message_loop()->PostTask(
FROM_HERE,
base::Bind(&NetworkDelegateErrorObserver::OnPACScriptError,
« no previous file with comments | « net/proxy/mock_proxy_resolver.h ('k') | net/proxy/proxy_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698