summaryrefslogtreecommitdiffstats
path: root/printing/printing_context_win.cc
diff options
context:
space:
mode:
authormaruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-08 02:04:22 +0000
committermaruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-08 02:04:22 +0000
commit5930cb6dacd08ecf46410cd7dd4f96724e353e5f (patch)
tree372cf2f78441a70355efb20571ca80c6bc6ec201 /printing/printing_context_win.cc
parent969f815e00942ba68f6ddd7bf4b0ce9f6da9479c (diff)
downloadchromium_src-5930cb6dacd08ecf46410cd7dd4f96724e353e5f.zip
chromium_src-5930cb6dacd08ecf46410cd7dd4f96724e353e5f.tar.gz
chromium_src-5930cb6dacd08ecf46410cd7dd4f96724e353e5f.tar.bz2
printing: replace the deprecated macro (DISALLOW_EVIL_CONSTRUCTORS).
Use DISALLOW_COPY_AND_ASSIGN instead. Patch contributed by Thiago Farina Review URL: http://codereview.chromium.org/460087 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34030 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'printing/printing_context_win.cc')
-rw-r--r--printing/printing_context_win.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/printing/printing_context_win.cc b/printing/printing_context_win.cc
index 6c49da2..2142b0f 100644
--- a/printing/printing_context_win.cc
+++ b/printing/printing_context_win.cc
@@ -35,9 +35,8 @@ void GetPrinterHelper(HANDLE printer, int level, scoped_array<uint8>* buffer) {
namespace printing {
-class PrintingContext::CallbackHandler
- : public IPrintDialogCallback,
- public IObjectWithSite {
+class PrintingContext::CallbackHandler : public IPrintDialogCallback,
+ public IObjectWithSite {
public:
CallbackHandler(PrintingContext& owner, HWND owner_hwnd)
: owner_(owner),
@@ -134,7 +133,7 @@ class PrintingContext::CallbackHandler
HWND owner_hwnd_;
IPrintDialogServices* services_;
- DISALLOW_EVIL_CONSTRUCTORS(CallbackHandler);
+ DISALLOW_COPY_AND_ASSIGN(CallbackHandler);
};
PrintingContext::PrintingContext()