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

Unified Diff: chrome/browser/gpu/chrome_gpu_util.cc

Issue 12223055: Turn on threaded compositing in OSX for continuous builds. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Re-resolve Created 7 years, 10 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/gpu/chrome_gpu_util.cc
diff --git a/chrome/browser/gpu/chrome_gpu_util.cc b/chrome/browser/gpu/chrome_gpu_util.cc
index fccdc45dbefa032393049cec05f16a153b689338..8dda42ed03539037050a72ae07c9494e9eae37dd 100644
--- a/chrome/browser/gpu/chrome_gpu_util.cc
+++ b/chrome/browser/gpu/chrome_gpu_util.cc
@@ -156,16 +156,9 @@ void InitializeCompositingFieldTrial() {
// http://crbug.com/133602 for mac
// http://crbug.com/140866 for linux
-#if defined(OS_WIN)
+#if defined(OS_WIN) || defined(OS_MACOSX)
// Enable threaded compositing on Windows.
threaded_compositing_probability = kDivisor;
-#elif defined(OS_MACOSX)
- chrome::VersionInfo::Channel channel = chrome::VersionInfo::GetChannel();
- if (channel == chrome::VersionInfo::CHANNEL_CANARY ||
- channel == chrome::VersionInfo::CHANNEL_DEV) {
- // Enable force-compositing-mode on the Mac.
- force_compositing_mode_probability = kDivisor;
- }
#endif
int force_compositing_group = trial->AppendGroup(
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698