From 0ffe8b109d8af1058c9cf14e1da4ab9738209263 Mon Sep 17 00:00:00 2001 From: "dcarney@chromium.org" Date: Thu, 12 Jun 2014 13:25:03 +0000 Subject: [PATCH] build fix after r21807 TBR=mstarzinger@chromium.org BUG= Review URL: https://codereview.chromium.org/333503005 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21809 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/api.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/api.cc b/src/api.cc index 2a86a04..c1ee927 100644 --- a/src/api.cc +++ b/src/api.cc @@ -1616,12 +1616,11 @@ Handle UnboundScript::GetScriptName() { Local Script::Run() { - i::Handle obj = - i::Handle::cast(Utils::OpenHandle(this, true)); + i::Handle obj = Utils::OpenHandle(this, true); // If execution is terminating, Compile(..)->Run() requires this // check. if (obj.is_null()) return Local(); - i::Isolate* isolate = obj->GetIsolate(); + i::Isolate* isolate = i::Handle::cast(obj)->GetIsolate(); ON_BAILOUT(isolate, "v8::Script::Run()", return Local()); LOG_API(isolate, "Script::Run"); ENTER_V8(isolate); -- 2.7.4