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

Unified Diff: chrome/browser/gpu_util.cc

Issue 10837158: mac: Delete more 10.5-only code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rsesek Created 8 years, 4 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/gpu_util.cc
diff --git a/chrome/browser/gpu_util.cc b/chrome/browser/gpu_util.cc
index 2af41916a7d4bd6b3cecbce1c0703c7d09d32d58..730aa722c0bab7b44508d0a2e09be5ca74dc6a35 100644
--- a/chrome/browser/gpu_util.cc
+++ b/chrome/browser/gpu_util.cc
@@ -25,8 +25,6 @@
#if defined(OS_WIN)
#include "base/win/windows_version.h"
-#elif defined(OS_MACOSX)
-#include "base/mac/mac_util.h"
#endif
using content::GpuDataManager;
@@ -183,10 +181,6 @@ void InitializeCompositingFieldTrial() {
// Don't run the trial on Windows XP.
if (base::win::GetVersion() < base::win::VERSION_VISTA)
return;
-#elif defined(OS_MACOSX)
- // Accelerated compositing is only implemented on Mac OSX 10.6 or later.
- if (base::mac::IsOSLeopardOrEarlier())
- return;
#endif
// The performance of accelerated compositing is too low with software

Powered by Google App Engine
This is Rietveld 408576698