2009-01-26 Dimitri Glazkov <dglazkov@chromium.org>
authordglazkov@chromium.org <dglazkov@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 26 Jan 2009 22:40:36 +0000 (22:40 +0000)
committerdglazkov@chromium.org <dglazkov@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 26 Jan 2009 22:40:36 +0000 (22:40 +0000)
commiteeb13d105be528a983b46c8bf9aeca8bc5e549bd
treed1af89fcb9b7f855c3e6c054c0901853e701c1cf
parentfc4205c3a0e2e62e40988d0ad7970bf89bec4bcf
2009-01-26  Dimitri Glazkov  <dglazkov@chromium.org>

        Reviewed by Eric Seidel.

        https://bugs.webkit.org/show_bug.cgi?id=22650
        Implement support for "Immutable" attribute to CodeGeneratorJS.pm, thus
        allowing to explicitly mark methods as immutable (i.e. returning a new
        instance rather than a reference to an existing instance).

        * bindings/js/JSSVGMatrixCustom.cpp: Removed custom methods.
        * bindings/scripts/CodeGeneratorJS.pm: Added check for Immutable
            attribute when generating function call.
        * svg/SVGMatrix.idl: Replaced Custom attribute with Immutable on
            methods.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@40265 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/WebCore.xcodeproj/project.pbxproj
WebCore/bindings/js/JSSVGMatrixCustom.cpp
WebCore/bindings/scripts/CodeGeneratorJS.pm
WebCore/svg/SVGMatrix.idl