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

Unified Diff: test/cctest/test-api.cc

Issue 16942004: build fix for 15142 (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 6 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698