Changeset 191316 in webkit


Ignore:
Timestamp:
Oct 19, 2015, 2:21:44 PM (10 years ago)
Author:
Csaba Osztrogonác
Message:

Fix the binding generator after r191176
https://bugs.webkit.org/show_bug.cgi?id=150320

Reviewed by Darin Adler.

  • bindings/scripts/CodeGeneratorJS.pm:

(GenerateConstructorHelperMethods):

  • bindings/scripts/test/JS/JSTestInterface.cpp:

(WebCore::JSTestInterfaceConstructor::getConstructData):

Location:
trunk/Source/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r191315 r191316  
     12015-10-19  Csaba Osztrogonác  <ossy@webkit.org>
     2
     3        Fix the binding generator after r191176
     4        https://bugs.webkit.org/show_bug.cgi?id=150320
     5
     6        Reviewed by Darin Adler.
     7
     8        * bindings/scripts/CodeGeneratorJS.pm:
     9        (GenerateConstructorHelperMethods):
     10        * bindings/scripts/test/JS/JSTestInterface.cpp:
     11        (WebCore::JSTestInterfaceConstructor::getConstructData):
     12
    1132015-10-19  Commit Queue  <commit-queue@webkit.org>
    214
  • trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm

    r191288 r191316  
    49284928    my $conditionalString = $codeGenerator->GenerateConstructorConditionalString($interface);
    49294929    if ($conditionalString) {
    4930         push(@$outputArray, "template<> ConstructType ${constructorClassName}::getConstructData(JSCell*, ConstructData& constructData)\n");
     4930        push(@$outputArray, "template<> ConstructType ${constructorClassName}::getConstructData(JSCell* cell, ConstructData& constructData)\n");
    49314931        push(@$outputArray, "{\n");
    49324932        push(@$outputArray, "#if $conditionalString\n");
     4933        push(@$outputArray, "    UNUSED_PARAM(cell);\n");
    49334934        push(@$outputArray, "    constructData.native.function = construct;\n");
    49344935        push(@$outputArray, "    return ConstructTypeHost;\n");
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.cpp

    r191288 r191316  
    277277}
    278278
    279 template<> ConstructType JSTestInterfaceConstructor::getConstructData(JSCell*, ConstructData& constructData)
     279template<> ConstructType JSTestInterfaceConstructor::getConstructData(JSCell* cell, ConstructData& constructData)
    280280{
    281281#if ENABLE(TEST_INTERFACE)
     282    UNUSED_PARAM(cell);
    282283    constructData.native.function = construct;
    283284    return ConstructTypeHost;
Note: See TracChangeset for help on using the changeset viewer.