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

Unified Diff: printing/pdf_metafile_cg_mac.cc

Issue 1849343003: mac: Remove IsOSSnowLeopard(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 9 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 | « ipc/attachment_broker_privileged_mac_unittest.cc ('k') | remoting/host/desktop_resizer_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/pdf_metafile_cg_mac.cc
diff --git a/printing/pdf_metafile_cg_mac.cc b/printing/pdf_metafile_cg_mac.cc
index e717c164506ba157f033a71b5c62eab889ac251a..c8fe2fd8a2e926436b7ff6d759009af68cfd481a 100644
--- a/printing/pdf_metafile_cg_mac.cc
+++ b/printing/pdf_metafile_cg_mac.cc
@@ -80,15 +80,7 @@ void RotatePage(CGContextRef context, const CGRect rect, int num_rotations) {
namespace printing {
PdfMetafileCg::PdfMetafileCg()
- : page_is_open_(false),
- thread_pdf_docs_owned_(false) {
- if (!thread_pdf_docs.Pointer()->Get() &&
- base::mac::IsOSSnowLeopard()) {
- thread_pdf_docs_owned_ = true;
- thread_pdf_docs.Pointer()->Set(
- CFSetCreateMutable(kCFAllocatorDefault, 0, &kCFTypeSetCallBacks));
- }
-}
+ : page_is_open_(false), thread_pdf_docs_owned_(false) {}
PdfMetafileCg::~PdfMetafileCg() {
DCHECK(thread_checker_.CalledOnValidThread());
« no previous file with comments | « ipc/attachment_broker_privileged_mac_unittest.cc ('k') | remoting/host/desktop_resizer_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698