diff options
author | maruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-08 02:04:22 +0000 |
---|---|---|
committer | maruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-08 02:04:22 +0000 |
commit | 5930cb6dacd08ecf46410cd7dd4f96724e353e5f (patch) | |
tree | 372cf2f78441a70355efb20571ca80c6bc6ec201 /printing/printed_document.h | |
parent | 969f815e00942ba68f6ddd7bf4b0ce9f6da9479c (diff) | |
download | chromium_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/printed_document.h')
-rw-r--r-- | printing/printed_document.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/printing/printed_document.h b/printing/printed_document.h index c7d806c..77364f9 100644 --- a/printing/printed_document.h +++ b/printing/printed_document.h @@ -115,7 +115,7 @@ class PrintedDocument : public base::RefCountedThreadSafe<PrintedDocument> { // Contains all the mutable stuff. All this stuff MUST be accessed with the // lock held. struct Mutable { - Mutable(PrintedPagesSource* source); + explicit Mutable(PrintedPagesSource* source); // Source that generates the PrintedPage's (i.e. a TabContents). It will be // set back to NULL if the source is deleted before this object. @@ -190,7 +190,7 @@ class PrintedDocument : public base::RefCountedThreadSafe<PrintedDocument> { // All the immutable members. const Immutable immutable_; - DISALLOW_EVIL_CONSTRUCTORS(PrintedDocument); + DISALLOW_COPY_AND_ASSIGN(PrintedDocument); }; } // namespace printing |