Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1344)

Unified Diff: tools/memory_watcher/call_stack.h

Issue 2657005: Get rid of DISALLOW_EVIL_CONSTRUCTORS macro usage in our code base. (Closed) Base URL: git://git.chromium.org/chromium.git
Patch Set: added the macro back Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/libjingle/overrides/talk/base/logging.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/memory_watcher/call_stack.h
diff --git a/tools/memory_watcher/call_stack.h b/tools/memory_watcher/call_stack.h
index aa3685d9d270fcea7e1c88f6ca5f42f53fa2b7db..264ad901125b168c036b26547050ee264dd7ee93 100644
--- a/tools/memory_watcher/call_stack.h
+++ b/tools/memory_watcher/call_stack.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
@@ -138,7 +138,7 @@ class CallStack {
PrivateHookAllocator<int32> > SymbolCache;
static SymbolCache* symbol_cache_;
- DISALLOW_EVIL_CONSTRUCTORS(CallStack);
+ DISALLOW_COPY_AND_ASSIGN(CallStack);
};
// An AllocationStack is a type of CallStack which represents a CallStack where
@@ -162,7 +162,7 @@ class AllocationStack : public CallStack {
static AllocationStack* freelist_;
static Lock freelist_lock_;
- DISALLOW_EVIL_CONSTRUCTORS(AllocationStack);
+ DISALLOW_COPY_AND_ASSIGN(AllocationStack);
};
#endif // MEMORY_WATCHER_CALL_STACK_H_
« no previous file with comments | « third_party/libjingle/overrides/talk/base/logging.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698