Changeset 107436 in webkit
- Timestamp:
- Feb 10, 2012 1:43:22 PM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r107435 r107436 1 2012-02-10 Kentaro Hara <haraken@chromium.org> 2 3 Rename [JSCustomPrototypePutDelegate] to [JSCustomNamedGetterOnPrototype] 4 https://bugs.webkit.org/show_bug.cgi?id=78353 5 6 Reviewed by Adam Barth. 7 8 [JSCustomPrototypePutDelegate] is used to write custom code for named 9 getters on a prototype interface. "PutDelegate" is just a method name 10 in implementation and not so descriptive. This patch renames it to 11 [JSCustomNamedGetterOnPrototype]. This is also for naming consistency 12 with [CustomNamedGetter]. 13 14 No tests. No change in behavior. 15 16 * bindings/scripts/CodeGeneratorJS.pm: 17 (GenerateHeader): 18 (GenerateImplementation): 19 * page/Location.idl: 20 1 21 2012-02-10 Enrica Casucci <enrica@apple.com> 2 22 -
trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm
r107432 r107436 1049 1049 " return JSC::Structure::create(globalData, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), &s_info);\n" . 1050 1050 " }\n"); 1051 if ($dataNode->extendedAttributes->{"JSCustom PrototypePutDelegate"}) {1051 if ($dataNode->extendedAttributes->{"JSCustomNamedGetterOnPrototype"}) { 1052 1052 push(@headerContent, " static void put(JSC::JSCell*, JSC::ExecState*, const JSC::Identifier& propertyName, JSC::JSValue, JSC::PutPropertySlot&);\n"); 1053 1053 push(@headerContent, " bool putDelegate(JSC::ExecState*, const JSC::Identifier&, JSC::JSValue, JSC::PutPropertySlot&);\n"); … … 1518 1518 } 1519 1519 1520 if ($dataNode->extendedAttributes->{"JSCustom PrototypePutDelegate"}) {1520 if ($dataNode->extendedAttributes->{"JSCustomNamedGetterOnPrototype"}) { 1521 1521 push(@implContent, "void ${className}Prototype::put(JSCell* cell, ExecState* exec, const Identifier& propertyName, JSValue value, PutPropertySlot& slot)\n"); 1522 1522 push(@implContent, "{\n"); -
trunk/Source/WebCore/page/Location.idl
r107432 r107436 39 39 CustomEnumerateProperty, 40 40 JSCustomDefineOwnProperty, 41 JSCustom PrototypePutDelegate,41 JSCustomNamedGetterOnPrototype, 42 42 JSCustomPrototypeDefineOwnProperty, 43 43 OmitConstructor
Note: See TracChangeset
for help on using the changeset viewer.