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

Unified Diff: src/checks.h

Issue 679143002: make Handle a synonym of Local (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 2 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
« include/v8.h ('K') | « include/v8.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/checks.h
diff --git a/src/checks.h b/src/checks.h
index 6303855fc862fe2c9a8aa603a2453211a37a3eac..b7254af472d32afd628c7c8cebbdf7ddfb1e0b54 100644
--- a/src/checks.h
+++ b/src/checks.h
@@ -16,7 +16,8 @@
namespace v8 {
class Value;
-template <class T> class Handle;
+template <class T>
+class Local;
namespace internal {
@@ -43,16 +44,12 @@ void CheckEqualsHelper(const char* file, int line, const char* expected_source,
void CheckNonEqualsHelper(const char* file, int line,
const char* unexpected_source,
- v8::Handle<v8::Value> unexpected,
- const char* value_source,
- v8::Handle<v8::Value> value);
-
-void CheckEqualsHelper(const char* file,
- int line,
- const char* expected_source,
- v8::Handle<v8::Value> expected,
- const char* value_source,
- v8::Handle<v8::Value> value);
+ v8::Local<v8::Value> unexpected,
+ const char* value_source, v8::Local<v8::Value> value);
+
+void CheckEqualsHelper(const char* file, int line, const char* expected_source,
+ v8::Local<v8::Value> expected, const char* value_source,
+ v8::Local<v8::Value> value);
#define DCHECK_TAG_ALIGNED(address) \
DCHECK((reinterpret_cast<intptr_t>(address) & HeapObjectTagMask()) == 0)
« include/v8.h ('K') | « include/v8.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698