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

Unified Diff: ui/gfx/video_decode_acceleration_support_mac_unittest.mm

Issue 10837158: mac: Delete more 10.5-only code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: mark 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
« no previous file with comments | « ui/gfx/scoped_ns_graphics_context_save_gstate_mac.mm ('k') | webkit/plugins/npapi/plugin_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/video_decode_acceleration_support_mac_unittest.mm
diff --git a/ui/gfx/video_decode_acceleration_support_mac_unittest.mm b/ui/gfx/video_decode_acceleration_support_mac_unittest.mm
index fa73b8367b0ba6c93adfda1e14adac73ef0a3229..bcc06237d60d9ccbb98c0c262b512ccb35acb6a0 100644
--- a/ui/gfx/video_decode_acceleration_support_mac_unittest.mm
+++ b/ui/gfx/video_decode_acceleration_support_mac_unittest.mm
@@ -7,7 +7,6 @@
#import "base/bind.h"
#include "base/location.h"
#import "base/mac/foundation_util.h"
-#import "base/mac/mac_util.h"
#include "base/mac/scoped_nsautorelease_pool.h"
#include "base/message_loop.h"
#import "base/sys_info.h"
@@ -36,10 +35,9 @@ const uint8_t kSampleAVCData[] = {
// Check to see if the OS we're running on should have
// VideoDecodeAcceleration.framework installed.
bool OSShouldHaveFramework() {
- if (base::mac::IsOSLeopardOrEarlier())
- return false;
-
// 10.6.2 and earlier doesn't have the framework.
+ // If we ever drop 10.6 support and clean up IsOSSnowLeopard() calls, this
+ // can be removed too.
int32 major, minor, bugfix;
base::SysInfo::OperatingSystemVersionNumbers(&major, &minor, &bugfix);
if (major == 10 && minor == 6 && bugfix <= 2)
« no previous file with comments | « ui/gfx/scoped_ns_graphics_context_save_gstate_mac.mm ('k') | webkit/plugins/npapi/plugin_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698