Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(288)

Unified Diff: printing/emf_win.h

Issue 599733002: StartPage/EndPage from spooling code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Tue Sep 23 18:18:33 PDT 2014 Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/service/cloud_print/print_system_win.cc ('k') | printing/emf_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/emf_win.h
diff --git a/printing/emf_win.h b/printing/emf_win.h
index f759300fda16a791a39190c256682e7cf8301d55..579669a3a0fce333023ebc5a765f1aed1d462477 100644
--- a/printing/emf_win.h
+++ b/printing/emf_win.h
@@ -77,9 +77,7 @@ class PRINTING_EXPORT Emf : public Metafile {
// Should be passed to Playback to keep the exact same size.
virtual gfx::Rect GetPageBounds(unsigned int page_number) const OVERRIDE;
- virtual unsigned int GetPageCount() const OVERRIDE {
- return page_count_;
- }
+ virtual unsigned int GetPageCount() const OVERRIDE { return 1; }
virtual HDC context() const OVERRIDE {
return hdc_;
@@ -119,8 +117,6 @@ class PRINTING_EXPORT Emf : public Metafile {
// Valid when generating EMF data through a virtual HDC.
HDC hdc_;
- int page_count_;
-
DISALLOW_COPY_AND_ASSIGN(Emf);
};
« no previous file with comments | « chrome/service/cloud_print/print_system_win.cc ('k') | printing/emf_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698