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

Unified Diff: src/handles.h

Issue 2271043003: Disable copy constructor in public: section or use macro. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 4 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 | « src/frames.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/handles.h
diff --git a/src/handles.h b/src/handles.h
index a7cd0e2497f74372b2eed759b8b386721493ed5e..a7eb31efca959bca1374f4c98c6e81d5262eb155 100644
--- a/src/handles.h
+++ b/src/handles.h
@@ -293,8 +293,6 @@ class HandleScope {
private:
// Prevent heap allocation or illegal handle scopes.
- HandleScope(const HandleScope&);
- void operator=(const HandleScope&);
void* operator new(size_t size);
void operator delete(void* size_t);
@@ -320,6 +318,8 @@ class HandleScope {
friend class DeferredHandleScope;
friend class HandleScopeImplementer;
friend class Isolate;
+
+ DISALLOW_COPY_AND_ASSIGN(HandleScope);
};
« no previous file with comments | « src/frames.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698