Reviewers: Sven Panne,

Message:
Committed patchset #1 manually as r15143 (presubmit successful).

Description:
build fix for 15142

[email protected]
BUG=

Committed: https://code.google.com/p/v8/source/detail?r=15143

Please review this at https://codereview.chromium.org/16942004/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files:
  M test/cctest/test-api.cc


Index: test/cctest/test-api.cc
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc
index 29868ab9c6c6bdc4c1844627a823273eff3aa06d..dcfa395014309a2ba27538def7d11b5d05749827 100755
--- a/test/cctest/test-api.cc
+++ b/test/cctest/test-api.cc
@@ -12765,7 +12765,8 @@ THREADED_TEST(DisposeEnteredContext) {
   {
     // Don't want a handle here, so do this unsafely
     v8::Handle<v8::Context> inner_local =
-        *reinterpret_cast<v8::Handle<v8::Context>*>(&inner);
+        v8::Utils::Convert<i::Object, v8::Context>(
+            v8::Utils::OpenPersistent(inner));
     inner_local->Enter();
     inner.Dispose();
     inner.Clear();


--
--
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.


Reply via email to