Index: printing/printing_context_win.cc |
diff --git a/printing/printing_context_win.cc b/printing/printing_context_win.cc |
index 83ddfd4d44d94ee7fc02b9e5c08e8b4fe57614e7..5074b410c3b68b1e50c98cf96b34856f2f41913e 100644 |
--- a/printing/printing_context_win.cc |
+++ b/printing/printing_context_win.cc |
@@ -122,9 +122,6 @@ class PrintingContext::CallbackHandler : public IPrintDialogCallback, |
PrintingContext::PrintingContext() |
: context_(NULL), |
-#ifndef NDEBUG |
- page_number_(-1), |
-#endif |
dialog_box_(NULL), |
dialog_box_dismissed_(false), |
in_print_job_(false), |
@@ -240,10 +237,6 @@ void PrintingContext::ResetSettings() { |
} |
settings_.Clear(); |
in_print_job_ = false; |
- |
-#ifndef NDEBUG |
- page_number_ = -1; |
-#endif |
} |
PrintingContext::Result PrintingContext::NewDocument( |
@@ -292,9 +285,6 @@ PrintingContext::Result PrintingContext::NewDocument( |
if (StartDoc(context_, &di) <= 0) |
return OnError(); |
-#ifndef NDEBUG |
- page_number_ = 0; |
-#endif |
return OK; |
} |
@@ -309,10 +299,6 @@ PrintingContext::Result PrintingContext::NewPage() { |
if (StartPage(context_) <= 0) |
return OnError(); |
-#ifndef NDEBUG |
- ++page_number_; |
-#endif |
- |
return OK; |
} |