Index: webkit/plugins/npapi/webplugin_delegate_impl_mac.mm |
=================================================================== |
--- webkit/plugins/npapi/webplugin_delegate_impl_mac.mm (revision 88826) |
+++ webkit/plugins/npapi/webplugin_delegate_impl_mac.mm (working copy) |
@@ -12,12 +12,12 @@ |
#include <set> |
#include "base/file_util.h" |
+#include "base/mac/mac_util.h" |
#include "base/memory/scoped_ptr.h" |
#include "base/message_loop.h" |
#include "base/metrics/stats_counters.h" |
#include "base/string_util.h" |
#include "base/utf_string_conversions.h" |
-#include "base/sys_info.h" |
#include "base/sys_string_conversions.h" |
#include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" |
#include "webkit/glue/webkit_glue.h" |
@@ -1022,9 +1022,7 @@ |
static BOOL sImeSupported = NO; |
static BOOL sHaveCheckedSupport = NO; |
if (!sHaveCheckedSupport) { |
- int32 major, minor, bugfix; |
- base::SysInfo::OperatingSystemVersionNumbers(&major, &minor, &bugfix); |
- sImeSupported = major > 10 || (major == 10 && minor > 5); |
+ sImeSupported = base::mac::IsOSSnowLeopardOrLater(); |
sHaveCheckedSupport = YES; |
} |
return sImeSupported; |