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

Unified Diff: chrome/browser/policy/policy_network_browsertest.cc

Issue 1815363002: Add RetainedRef uses where needed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 | « chrome/browser/net/sdch_browsertest.cc ('k') | chrome/browser/printing/print_job.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/policy/policy_network_browsertest.cc
diff --git a/chrome/browser/policy/policy_network_browsertest.cc b/chrome/browser/policy/policy_network_browsertest.cc
index d69178a756bb1268a39af8ff3cedb37e26886d53..75765cf38789659d3a20b71eb6ff9c379fec9228 100644
--- a/chrome/browser/policy/policy_network_browsertest.cc
+++ b/chrome/browser/policy/policy_network_browsertest.cc
@@ -37,15 +37,12 @@ void VerifyQuicEnabledStatus(net::URLRequestContextGetter* getter,
void VerifyQuicEnabledStatusInIOThread(bool quic_enabled_expected) {
base::RunLoop run_loop;
- content::BrowserThread::PostTask(
- content::BrowserThread::IO,
- FROM_HERE,
- base::Bind(
- VerifyQuicEnabledStatus,
- make_scoped_refptr(g_browser_process->system_request_context()),
- quic_enabled_expected,
- run_loop.QuitClosure()));
- run_loop.Run();
+ content::BrowserThread::PostTask(
+ content::BrowserThread::IO, FROM_HERE,
+ base::Bind(VerifyQuicEnabledStatus,
+ base::RetainedRef(g_browser_process->system_request_context()),
+ quic_enabled_expected, run_loop.QuitClosure()));
+ run_loop.Run();
}
} // namespace
« no previous file with comments | « chrome/browser/net/sdch_browsertest.cc ('k') | chrome/browser/printing/print_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698