Index: printing/printing_context_mac.mm |
diff --git a/printing/printing_context_mac.mm b/printing/printing_context_mac.mm |
index ea6474c7838e4a3220088fa6024eb219dd3a21bb..2c487481c3e016bee72067c677d7b18e541a99ad 100644 |
--- a/printing/printing_context_mac.mm |
+++ b/printing/printing_context_mac.mm |
@@ -15,9 +15,6 @@ namespace printing { |
PrintingContext::PrintingContext() |
: context_(NULL), |
print_info_(nil), |
-#ifndef NDEBUG |
- page_number_(-1), |
-#endif |
dialog_box_dismissed_(false), |
in_print_job_(false), |
abort_printing_(false) { |
@@ -114,9 +111,6 @@ void PrintingContext::ResetSettings() { |
[print_info_ autorelease]; |
print_info_ = nil; |
settings_.Clear(); |
-#ifndef NDEBUG |
- page_number_ = -1; |
-#endif |
dialog_box_dismissed_ = false; |
abort_printing_ = false; |
in_print_job_ = false; |
@@ -146,10 +140,6 @@ PrintingContext::Result PrintingContext::NewDocument( |
if (status != noErr) |
return OnError(); |
-#ifndef NDEBUG |
- page_number_ = 0; |
-#endif |
- |
return OK; |
} |
@@ -171,10 +161,6 @@ PrintingContext::Result PrintingContext::NewPage() { |
if (status != noErr) |
return OnError(); |
-#ifndef NDEBUG |
- ++page_number_; |
-#endif |
- |
return OK; |
} |