From e922c7f8e444a83e7381c117c2f9d17bef330d8d Mon Sep 17 00:00:00 2001 From: "yangguo@chromium.org" Date: Wed, 2 Oct 2013 08:40:15 +0000 Subject: [PATCH] Fix compile error. R=jkummerow@chromium.org BUG= Review URL: https://codereview.chromium.org/25674004 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17064 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/runtime.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime.cc b/src/runtime.cc index d4dc0fc5c..d0754609f 100644 --- a/src/runtime.cc +++ b/src/runtime.cc @@ -1571,7 +1571,7 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_GetPrototype) { ASSERT(!obj->IsAccessCheckNeeded() || obj->IsJSObject()); do { if (obj->IsAccessCheckNeeded() && - !isolate->MayNamedAccessWrapper(obj, + !isolate->MayNamedAccessWrapper(Handle::cast(obj), isolate->factory()->proto_string(), v8::ACCESS_GET)) { isolate->ReportFailedAccessCheck(JSObject::cast(*obj), v8::ACCESS_GET); -- 2.34.1