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

Unified Diff: include/v8.h

Issue 2732803002: Drop UniqueId from include/v8.h (Closed)
Patch Set: Drop UniqueId from include/v8.h Created 3 years, 9 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 | « no previous file | test/cctest/test-api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/v8.h
diff --git a/include/v8.h b/include/v8.h
index b5f40c176d3ff95d5c23553012c411b2fb190134..ead6efa42c8dd2cce53616df84e86a02136280e0 100644
--- a/include/v8.h
+++ b/include/v8.h
@@ -155,30 +155,6 @@ class GlobalHandles;
} // namespace internal
-/**
- * General purpose unique identifier.
- */
-class UniqueId {
- public:
- explicit UniqueId(intptr_t data)
- : data_(data) {}
-
- bool operator==(const UniqueId& other) const {
- return data_ == other.data_;
- }
-
- bool operator!=(const UniqueId& other) const {
- return data_ != other.data_;
- }
-
- bool operator<(const UniqueId& other) const {
- return data_ < other.data_;
- }
-
- private:
- intptr_t data_;
-};
-
// --- Handles ---
#define TYPE_CHECK(T, S) \
« no previous file with comments | « no previous file | test/cctest/test-api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698