Changeset 191316 in webkit
- Timestamp:
- Oct 19, 2015, 2:21:44 PM (10 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r191315 r191316 1 2015-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 1 13 2015-10-19 Commit Queue <commit-queue@webkit.org> 2 14 -
trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm
r191288 r191316 4928 4928 my $conditionalString = $codeGenerator->GenerateConstructorConditionalString($interface); 4929 4929 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"); 4931 4931 push(@$outputArray, "{\n"); 4932 4932 push(@$outputArray, "#if $conditionalString\n"); 4933 push(@$outputArray, " UNUSED_PARAM(cell);\n"); 4933 4934 push(@$outputArray, " constructData.native.function = construct;\n"); 4934 4935 push(@$outputArray, " return ConstructTypeHost;\n"); -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.cpp
r191288 r191316 277 277 } 278 278 279 template<> ConstructType JSTestInterfaceConstructor::getConstructData(JSCell* , ConstructData& constructData)279 template<> ConstructType JSTestInterfaceConstructor::getConstructData(JSCell* cell, ConstructData& constructData) 280 280 { 281 281 #if ENABLE(TEST_INTERFACE) 282 UNUSED_PARAM(cell); 282 283 constructData.native.function = construct; 283 284 return ConstructTypeHost;
Note:
See TracChangeset
for help on using the changeset viewer.