-
weinig@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=121397 Reviewed by Andreas Kling. Convert the bindings code to pass a Document reference for named constructors. * bindings/js/JSImageConstructor.cpp: (WebCore::constructImage): * bindings/scripts/CodeGeneratorJS.pm: (GenerateConstructorDefinition): * html/HTMLAudioElement.cpp: (WebCore::HTMLAudioElement::createForJSConstructor): * html/HTMLAudioElement.h: * html/HTMLImageElement.cpp: (WebCore::HTMLImageElement::createForJSConstructor): * html/HTMLImageElement.h: * html/HTMLOptionElement.cpp: (WebCore::HTMLOptionElement::createForJSConstructor): * html/HTMLOptionElement.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155819 268f45cc-cd09-0410-ab3c-d52691b4dbfc
da19d810