From 740bfa5dd02379cf600f2da544f3b3a8974768a7 Mon Sep 17 00:00:00 2001 From: "dcarney@chromium.org" Date: Fri, 30 Aug 2013 09:03:27 +0000 Subject: [PATCH] fix eternal casts R=svenpanne@chromium.org BUG= Review URL: https://codereview.chromium.org/23532017 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16442 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- include/v8.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/v8.h b/include/v8.h index 9ba928b..cfc1de6 100644 --- a/include/v8.h +++ b/include/v8.h @@ -5578,13 +5578,13 @@ template template void Eternal::Set(Isolate* isolate, Local handle) { TYPE_CHECK(T, S); - V8::Eternalize(isolate, Value::Cast(*handle), &this->index_); + V8::Eternalize(isolate, reinterpret_cast(*handle), &this->index_); } template Local Eternal::Get(Isolate* isolate) { - return Local::Cast(V8::GetEternal(isolate, index_)); + return Local(reinterpret_cast(*V8::GetEternal(isolate, index_))); } -- 2.7.4