summaryrefslogtreecommitdiffstats
path: root/printing/printing_context_win.cc
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-14 20:00:12 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-14 20:00:12 +0000
commit46b8ae05011f68f6a2caff471111aefc39f1f498 (patch)
tree3e4f156ac73b1e6a6812bfdbfcd411c0eeea45fa /printing/printing_context_win.cc
parent38f8fe98d27130157e9eacf9a2c8b9a99e7a02cc (diff)
downloadchromium_src-46b8ae05011f68f6a2caff471111aefc39f1f498.zip
chromium_src-46b8ae05011f68f6a2caff471111aefc39f1f498.tar.gz
chromium_src-46b8ae05011f68f6a2caff471111aefc39f1f498.tar.bz2
Printing: Delete dead code in PrintJob and cleanup corresponding code in PrintingContext.
BUG=none TEST=none Review URL: http://codereview.chromium.org/6510007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74844 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'printing/printing_context_win.cc')
-rw-r--r--printing/printing_context_win.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/printing/printing_context_win.cc b/printing/printing_context_win.cc
index c5130c0..3d40739 100644
--- a/printing/printing_context_win.cc
+++ b/printing/printing_context_win.cc
@@ -327,10 +327,6 @@ void PrintingContextWin::Cancel() {
in_print_job_ = false;
if (context_)
CancelDC(context_);
- DismissDialog();
-}
-
-void PrintingContextWin::DismissDialog() {
if (dialog_box_) {
DestroyWindow(dialog_box_);
dialog_box_dismissed_ = true;