HTMLDocument::getNamedProperty() is used by DOMWindowShell. It can be a static method in DOMWindowShell.
Created attachment 191039 [details] Patch
Comment on attachment 191039 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=191039&action=review > Source/WebCore/bindings/v8/V8DOMWindowShell.cpp:435 > + return v8Undefined(); Should we pass the isolate to v8Undefined ?
Committed r144584: <http://trac.webkit.org/changeset/144584>
(In reply to comment #2) > (From update of attachment 191039 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=191039&action=review > > > Source/WebCore/bindings/v8/V8DOMWindowShell.cpp:435 > > + return v8Undefined(); > > Should we pass the isolate to v8Undefined ? I have to fix it when I fix bug 104088. Currently v8::Undefined(), v8Undefined() and Handle<Value>() are mixed inconsistently.