diff options
author | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-01 16:46:23 +0000 |
---|---|---|
committer | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-01 16:46:23 +0000 |
commit | 1461948be1005890af3c6f9c708eff1a97cb9a1e (patch) | |
tree | 5390c248c6daf623ce559519be8780df20121e1b /printing/pdf_metafile_mac.cc | |
parent | 47e2377ba88923e0764dc06a118a88a8bdfecfc1 (diff) | |
download | chromium_src-1461948be1005890af3c6f9c708eff1a97cb9a1e.zip chromium_src-1461948be1005890af3c6f9c708eff1a97cb9a1e.tar.gz chromium_src-1461948be1005890af3c6f9c708eff1a97cb9a1e.tar.bz2 |
Officially close PDF files when done writing them. No difference now, but if we ever move to GC, this will prevent problems.
BUG=http://crbug.com/33239
TEST=none (does not fix bug)
Review URL: http://codereview.chromium.org/1508015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43355 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'printing/pdf_metafile_mac.cc')
-rw-r--r-- | printing/pdf_metafile_mac.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/printing/pdf_metafile_mac.cc b/printing/pdf_metafile_mac.cc index 54da147..c4aa4f0 100644 --- a/printing/pdf_metafile_mac.cc +++ b/printing/pdf_metafile_mac.cc @@ -100,6 +100,7 @@ void PdfMetafile::Close() { } } #endif + CGPDFContextClose(context_.get()); context_.reset(NULL); } |