summaryrefslogtreecommitdiffstats
path: root/printing/pdf_metafile_mac.h
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-17 04:09:06 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-17 04:09:06 +0000
commitdf0ca6c858762b101bf424ff6c0522409fa195fc (patch)
treeefa188eee6972e2c0de358f2d19a2348ce6dcb06 /printing/pdf_metafile_mac.h
parent73de26a684944782a92f8e6840e1b290c9a424cd (diff)
downloadchromium_src-df0ca6c858762b101bf424ff6c0522409fa195fc.zip
chromium_src-df0ca6c858762b101bf424ff6c0522409fa195fc.tar.gz
chromium_src-df0ca6c858762b101bf424ff6c0522409fa195fc.tar.bz2
Move scoped_cftyperef from base to base/mac, use the new namespace, and name it
properly (scoped_cftyperef -> ScopedCFTypeRef). TEST=it compiles BUG=none Review URL: http://codereview.chromium.org/3855001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62887 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'printing/pdf_metafile_mac.h')
-rw-r--r--printing/pdf_metafile_mac.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/printing/pdf_metafile_mac.h b/printing/pdf_metafile_mac.h
index 0a0ea3c..8872d99 100644
--- a/printing/pdf_metafile_mac.h
+++ b/printing/pdf_metafile_mac.h
@@ -9,7 +9,7 @@
#include <CoreFoundation/CoreFoundation.h>
#include "base/basictypes.h"
-#include "base/scoped_cftyperef.h"
+#include "base/mac/scoped_cftyperef.h"
namespace gfx {
class Rect;
@@ -90,13 +90,13 @@ class PdfMetafile {
CGPDFDocumentRef GetPDFDocument() const;
// Context for rendering to the pdf.
- scoped_cftyperef<CGContextRef> context_;
+ base::mac::ScopedCFTypeRef<CGContextRef> context_;
// PDF backing store.
- scoped_cftyperef<CFMutableDataRef> pdf_data_;
+ base::mac::ScopedCFTypeRef<CFMutableDataRef> pdf_data_;
// Lazily-created CGPDFDocument representation of pdf_data_.
- mutable scoped_cftyperef<CGPDFDocumentRef> pdf_doc_;
+ mutable base::mac::ScopedCFTypeRef<CGPDFDocumentRef> pdf_doc_;
// Whether or not a page is currently open.
bool page_is_open_;