diff options
Diffstat (limited to 'printing/emf_win.cc')
-rw-r--r-- | printing/emf_win.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/printing/emf_win.cc b/printing/emf_win.cc index 4cb8530..920d64f 100644 --- a/printing/emf_win.cc +++ b/printing/emf_win.cc @@ -404,8 +404,9 @@ bool Emf::Record::SafePlayback(const XFORM* base_matrix) const { } SkDevice* Emf::StartPageForVectorCanvas( - const gfx::Size& page_size, const gfx::Rect& content_area, + int page_number, const gfx::Size& page_size, const gfx::Rect& content_area, const float& scale_factor) { + DCHECK(page_number == page_count_); if (!StartPage(page_size, content_area, scale_factor)) return NULL; |