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

Unified Diff: include/v8.h

Issue 12716010: Added a version of the v8::HandleScope constructor with an Isolate and use that consistently. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Feedback. Rebased Created 7 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 | samples/lineprocessor.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 8fab761615d322e874a8eaed7b2ee3f7db263ffe..1e4d2f927d930158fd832f88b6b3b884a074e2ff 100644
--- a/include/v8.h
+++ b/include/v8.h
@@ -514,8 +514,11 @@ template <class T> class Persistent : public Handle<T> {
*/
class V8EXPORT HandleScope {
public:
+ // TODO(svenpanne) Deprecate me when Chrome is fixed!
HandleScope();
+ HandleScope(Isolate* isolate);
+
~HandleScope();
/**
@@ -559,6 +562,7 @@ class V8EXPORT HandleScope {
}
};
+ void Initialize(Isolate* isolate);
void Leave();
internal::Isolate* isolate_;
« no previous file with comments | « no previous file | samples/lineprocessor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698