diff options
author | kmadhusu@chromium.org <kmadhusu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-02 16:44:20 +0000 |
---|---|---|
committer | kmadhusu@chromium.org <kmadhusu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-02 16:44:20 +0000 |
commit | 534c4fb35c8c195c6d82e7e12ac303397e796825 (patch) | |
tree | 1bfdb823901de172173b19f58b0aab493e1bb932 /printing/pdf_metafile_cairo_linux.h | |
parent | 1c78d786e3889ca1b783ab31ac3a16449e718f6f (diff) | |
download | chromium_src-534c4fb35c8c195c6d82e7e12ac303397e796825.zip chromium_src-534c4fb35c8c195c6d82e7e12ac303397e796825.tar.gz chromium_src-534c4fb35c8c195c6d82e7e12ac303397e796825.tar.bz2 |
PrintPreview: Remove |page_number| from StartPageForVectorCanvas function and |page_slot| from PrintMsg_PrintPage_Params.
We will not add preview pages to the complete metafile in out of order fashion.
BUG=none
TEST=print preview works after code changes.
Review URL: http://codereview.chromium.org/7549001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95092 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'printing/pdf_metafile_cairo_linux.h')
-rw-r--r-- | printing/pdf_metafile_cairo_linux.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/printing/pdf_metafile_cairo_linux.h b/printing/pdf_metafile_cairo_linux.h index 62fd814..6f07ae0 100644 --- a/printing/pdf_metafile_cairo_linux.h +++ b/printing/pdf_metafile_cairo_linux.h @@ -37,8 +37,8 @@ class PdfMetafileCairo : public Metafile { virtual bool InitFromData(const void* src_buffer, uint32 src_buffer_size); virtual SkDevice* StartPageForVectorCanvas( - int page_number, const gfx::Size& page_size, - const gfx::Rect& content_area, const float& scale_factor); + const gfx::Size& page_size, const gfx::Rect& content_area, + const float& scale_factor); virtual bool StartPage(const gfx::Size& page_size, const gfx::Rect& content_area, |