Index: chrome/browser/chrome_gpu_util.cc |
diff --git a/chrome/browser/chrome_gpu_util.cc b/chrome/browser/chrome_gpu_util.cc |
index c3b1434278eb413bd61541fd89468982603c467b..07e928b02e1f75bc66b71a1ba2f93c99d1b35980 100644 |
--- a/chrome/browser/chrome_gpu_util.cc |
+++ b/chrome/browser/chrome_gpu_util.cc |
@@ -154,7 +154,7 @@ void InitializeCompositingFieldTrial() { |
scoped_refptr<base::FieldTrial> trial( |
base::FieldTrialList::FactoryGetFieldTrial( |
content::kGpuCompositingFieldTrialName, kDivisor, |
- "disable", 2012, 12, 31, NULL)); |
+ "disable", 2013, 12, 31, NULL)); |
// Produce the same result on every run of this client. |
trial->UseOneTimeRandomization(); |
@@ -162,31 +162,9 @@ void InitializeCompositingFieldTrial() { |
base::FieldTrial::Probability force_compositing_mode_probability = 0; |
base::FieldTrial::Probability threaded_compositing_probability = 0; |
- chrome::VersionInfo::Channel channel = chrome::VersionInfo::GetChannel(); |
- if (channel == chrome::VersionInfo::CHANNEL_STABLE || |
Nico
2012/10/26 01:15:11
Huh, this used to be on by default on stable and b
|
- channel == chrome::VersionInfo::CHANNEL_BETA) { |
- // Stable and Beta channels: Non-threaded force-compositing-mode on by |
- // default (mac and windows only). |
#if defined(OS_WIN) || defined(OS_MACOSX) |
- force_compositing_mode_probability = 3; |
+ force_compositing_mode_probability = 3; |
Nico
2012/10/26 01:15:11
nit: s/3/kDivisor/ (like last time)
|
#endif |
- } else if (channel == chrome::VersionInfo::CHANNEL_DEV || |
- channel == chrome::VersionInfo::CHANNEL_CANARY) { |
- // Dev and Canary channels: force-compositing-mode and |
- // threaded-compositing on with 1/3 probability each. |
- force_compositing_mode_probability = 1; |
- |
-#if defined(OS_MACOSX) || defined(OS_LINUX) |
- // Threaded compositing mode isn't feature complete on mac or linux yet: |
- // http://crbug.com/133602 for mac |
- // http://crbug.com/140866 for linux |
- threaded_compositing_probability = 0; |
-#else |
- if (!CommandLine::ForCurrentProcess()->HasSwitch( |
- switches::kDisableThreadedCompositing)) |
- threaded_compositing_probability = 1; |
-#endif |
- } |
int force_compositing_group = trial->AppendGroup( |
content::kGpuCompositingFieldTrialForceCompositingEnabledName, |