| Index: net/disk_cache/backend_impl.cc
|
| diff --git a/net/disk_cache/backend_impl.cc b/net/disk_cache/backend_impl.cc
|
| index 4765a446a2eb53ba09b735f53c96c5f1de98d2a3..2b17e4895f47fc6bdcc538221a6a0b0577b4078e 100644
|
| --- a/net/disk_cache/backend_impl.cc
|
| +++ b/net/disk_cache/backend_impl.cc
|
| @@ -174,13 +174,13 @@ bool SetFieldTrialInfo(int size_group) {
|
|
|
| // Field trials involve static objects so we have to do this only once.
|
| first = false;
|
| - scoped_refptr<base::FieldTrial> trial1 =
|
| - new base::FieldTrial("CacheSize", 10);
|
| + scoped_refptr<base::FieldTrial> trial1(
|
| + new base::FieldTrial("CacheSize", 10));
|
| std::string group1 = base::StringPrintf("CacheSizeGroup_%d", size_group);
|
| trial1->AppendGroup(group1, base::FieldTrial::kAllRemainingProbability);
|
|
|
| - scoped_refptr<base::FieldTrial> trial2 =
|
| - new base::FieldTrial("CacheThrottle", 100);
|
| + scoped_refptr<base::FieldTrial> trial2(
|
| + new base::FieldTrial("CacheThrottle", 100));
|
| int group2a = trial2->AppendGroup("CacheThrottle_On", 10); // 10 % in.
|
| trial2->AppendGroup("CacheThrottle_Off", 10); // 10 % control.
|
|
|
|
|