diff options
author | reed@google.com <reed@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-21 14:52:25 +0000 |
---|---|---|
committer | reed@google.com <reed@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-21 14:52:25 +0000 |
commit | b1e544f36255f965ba719ee40dde4c9880fd81ce (patch) | |
tree | 1c735b7d984c78d8c641e4766947352fb64793f9 /printing | |
parent | 3a16cbc704db7e80d5184b932ad9d3b0b13f7dc7 (diff) | |
download | chromium_src-b1e544f36255f965ba719ee40dde4c9880fd81ce.zip chromium_src-b1e544f36255f965ba719ee40dde4c9880fd81ce.tar.gz chromium_src-b1e544f36255f965ba719ee40dde4c9880fd81ce.tar.bz2 |
roll skia to 1919
Review URL: http://codereview.chromium.org/7459008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93394 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'printing')
-rw-r--r-- | printing/pdf_metafile_skia.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/printing/pdf_metafile_skia.cc b/printing/pdf_metafile_skia.cc index d265ca0..1f08ad0 100644 --- a/printing/pdf_metafile_skia.cc +++ b/printing/pdf_metafile_skia.cc @@ -84,7 +84,7 @@ bool PdfMetafileSkia::StartPage(const gfx::Size& page_size, bool PdfMetafileSkia::FinishPage() { DCHECK(data_->current_page_.get()); - data_->pdf_doc_.appendPage(data_->current_page_); + data_->pdf_doc_.appendPage(data_->current_page_.get()); page_outstanding_ = false; return true; } @@ -242,7 +242,7 @@ PdfMetafileSkia::PdfMetafileSkia() PdfMetafileSkia* PdfMetafileSkia::GetMetafileForCurrentPage() { SkPDFDocument pdf_doc; SkDynamicMemoryWStream pdf_stream; - if (!pdf_doc.appendPage(data_->current_page_)) + if (!pdf_doc.appendPage(data_->current_page_.get())) return NULL; if (!pdf_doc.emitPDF(&pdf_stream)) |