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

Unified Diff: chrome/browser/io_thread.cc

Issue 4192012: Convert implicit scoped_refptr constructor calls to explicit ones, part 1 (Closed) Base URL: http://git.chromium.org/git/chromium.git
Patch Set: fix presubmit Created 10 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: chrome/browser/io_thread.cc
diff --git a/chrome/browser/io_thread.cc b/chrome/browser/io_thread.cc
index 3c7fdc67456f95b9539a97c7fae6de4d5fe879bb..55713b73f77d7f57c6587b58a6d8bfc51e9c8c36 100644
--- a/chrome/browser/io_thread.cc
+++ b/chrome/browser/io_thread.cc
@@ -62,8 +62,8 @@ net::HostResolver* CreateGlobalHostResolver(net::NetLog* net_log) {
// For each option (i.e., non-default), we have a fixed probability.
base::FieldTrial::Probability kProbabilityPerGroup = 100; // 10%.
- scoped_refptr<base::FieldTrial> trial =
- new base::FieldTrial("DnsParallelism", kDivisor);
+ scoped_refptr<base::FieldTrial> trial(
+ new base::FieldTrial("DnsParallelism", kDivisor));
// List options with different counts.
// Firefox limits total to 8 in parallel, and default is currently 50.
« no previous file with comments | « chrome/browser/in_process_webkit/browser_webkitclient_impl.cc ('k') | chrome/browser/metrics/metrics_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698