Reviewers: Michael Starzinger,
Message:
There's a bug in chrome preventing Context::Exit from working. This is a
hack
until chrome is correct
Description:
build fix for 16877
[email protected]
BUG=
Please review this at https://chromiumcodereview.appspot.com/23498057/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+3, -2 lines):
M src/api.cc
Index: src/api.cc
diff --git a/src/api.cc b/src/api.cc
index
3030b8a1e03879085f6d801682c8ac4839136d3a..6d53d91dd850f58cb0d89650fe99b44835b2a790
100644
--- a/src/api.cc
+++ b/src/api.cc
@@ -727,8 +727,9 @@ void Context::Enter() {
void Context::Exit() {
- i::Handle<i::Context> context = Utils::OpenHandle(this);
- i::Isolate* isolate = context->GetIsolate();
+ // TODO(dcarney): fix this once chrome is fixed.
+ i::Isolate* isolate = i::Isolate::Current();
+ i::Handle<i::Context> context = i::Handle<i::Context>::null();
ENTER_V8(isolate);
if (!ApiCheck(isolate->handle_scope_implementer()->LeaveContext(context),
"v8::Context::Exit()",
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.