Title: [97580] trunk/Source/WebCore
Revision
97580
Author
hara...@chromium.org
Date
2011-10-16 19:02:18 -0700 (Sun, 16 Oct 2011)

Log Message

Generate XSLTProcessor constructor for JSC by [Constructor] IDL.
https://bugs.webkit.org/show_bug.cgi?id=70206

Reviewed by Adam Barth.

Tests: fast/xsl/xslt-processor.html
       fast/xsl/default-html.html
       fast/dom/global-constructors.html

* bindings/js/JSXSLTProcessorCustom.cpp: Removed a custom constructor.
* xml/XSLTProcessor.idl: Removed 'JSCustomConstructor'.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (97579 => 97580)


--- trunk/Source/WebCore/ChangeLog	2011-10-17 01:11:52 UTC (rev 97579)
+++ trunk/Source/WebCore/ChangeLog	2011-10-17 02:02:18 UTC (rev 97580)
@@ -1,5 +1,19 @@
 2011-10-16  Kentaro Hara  <hara...@chromium.org>
 
+        Generate XSLTProcessor constructor for JSC by [Constructor] IDL.
+        https://bugs.webkit.org/show_bug.cgi?id=70206
+
+        Reviewed by Adam Barth.
+
+        Tests: fast/xsl/xslt-processor.html
+               fast/xsl/default-html.html
+               fast/dom/global-constructors.html
+
+        * bindings/js/JSXSLTProcessorCustom.cpp: Removed a custom constructor.
+        * xml/XSLTProcessor.idl: Removed 'JSCustomConstructor'.
+
+2011-10-16  Kentaro Hara  <hara...@chromium.org>
+
         Support [Constructor] IDL for JSC.
         https://bugs.webkit.org/show_bug.cgi?id=70101
 

Modified: trunk/Source/WebCore/bindings/js/JSXSLTProcessorCustom.cpp (97579 => 97580)


--- trunk/Source/WebCore/bindings/js/JSXSLTProcessorCustom.cpp	2011-10-17 01:11:52 UTC (rev 97579)
+++ trunk/Source/WebCore/bindings/js/JSXSLTProcessorCustom.cpp	2011-10-17 02:02:18 UTC (rev 97580)
@@ -116,12 +116,6 @@
     return jsUndefined();
 }
 
-EncodedJSValue JSC_HOST_CALL JSXSLTProcessorConstructor::constructJSXSLTProcessor(ExecState* exec)
-{
-    JSXSLTProcessorConstructor* jsConstructor = static_cast<JSXSLTProcessorConstructor*>(exec->callee());
-    return JSValue::encode(CREATE_DOM_WRAPPER(exec, jsConstructor->globalObject(), XSLTProcessor, XSLTProcessor::create().get()));
-}
-
 } // namespace WebCore
 
 #endif // ENABLE(XSLT)

Modified: trunk/Source/WebCore/xml/XSLTProcessor.idl (97579 => 97580)


--- trunk/Source/WebCore/xml/XSLTProcessor.idl	2011-10-17 01:11:52 UTC (rev 97579)
+++ trunk/Source/WebCore/xml/XSLTProcessor.idl	2011-10-17 02:02:18 UTC (rev 97580)
@@ -35,7 +35,6 @@
     interface [
         Conditional=XSLT,
         CanBeConstructed,
-        JSCustomConstructor,
         Constructor
     ] XSLTProcessor {
         
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to