Index: printing/pdf_metafile_cg_mac.cc |
=================================================================== |
--- printing/pdf_metafile_cg_mac.cc (revision 88826) |
+++ printing/pdf_metafile_cg_mac.cc (working copy) |
@@ -6,8 +6,8 @@ |
#include "base/file_path.h" |
#include "base/logging.h" |
+#include "base/mac/mac_util.h" |
#include "base/mac/scoped_cftyperef.h" |
-#include "base/sys_info.h" |
#include "base/sys_string_conversions.h" |
#include "base/threading/thread_local.h" |
#include "ui/gfx/rect.h" |
@@ -37,14 +37,7 @@ |
base::ThreadLocalPointer<struct __CFSet> thread_pdf_docs; |
bool PDFBugFixed() { |
- int32 major_version; |
- int32 minor_version; |
- int32 bugfix_version; |
- base::SysInfo::OperatingSystemVersionNumbers(&major_version, |
- &minor_version, |
- &bugfix_version); |
- return |
- major_version > 10 || (major_version == 10 && minor_version >= 7); |
+ return base::mac::IsOSLionOrLater(); |
} |
} // namespace |