diff options
Diffstat (limited to 'Source/WebCore/bindings/v8/custom/V8LocationCustom.cpp')
-rw-r--r-- | Source/WebCore/bindings/v8/custom/V8LocationCustom.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/Source/WebCore/bindings/v8/custom/V8LocationCustom.cpp b/Source/WebCore/bindings/v8/custom/V8LocationCustom.cpp index 45fdce79b..7833ea4bc 100644 --- a/Source/WebCore/bindings/v8/custom/V8LocationCustom.cpp +++ b/Source/WebCore/bindings/v8/custom/V8LocationCustom.cpp @@ -270,17 +270,4 @@ bool V8Location::namedSecurityCheck(v8::Local<v8::Object> host, v8::Local<v8::Va return BindingSecurity::shouldAllowAccessToFrame(BindingState::instance(), imp->frame(), DoNotReportSecurityError); } -v8::Handle<v8::Value> toV8(Location* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) -{ - if (!impl) - return v8NullWithCheck(isolate); - v8::Handle<v8::Object> wrapper = getDOMObjectMap().get(impl); - if (wrapper.IsEmpty()) { - wrapper = V8Location::wrap(impl, creationContext, isolate); - if (!wrapper.IsEmpty()) - V8DOMWrapper::setNamedHiddenWindowReference(impl->frame(), "location", wrapper); - } - return wrapper; -} - } // namespace WebCore |