Changeset 107004 in webkit


Ignore:
Timestamp:
Feb 7, 2012 4:00:18 PM (12 years ago)
Author:
haraken@chromium.org
Message:

Rename [v8OnProto] IDL attribute to [V8OnProto] IDL attribute
https://bugs.webkit.org/show_bug.cgi?id=77973

Reviewed by Adam Barth.

This patch renames [v8OnProto] to [V8OnProto], since V8 specific IDL
attributes should be prefixed by "V8".

No tests. No change in behavior.

  • bindings/scripts/CodeGeneratorV8.pm:

(GenerateNormalAttrGetter):
(GenerateNormalAttrSetter):
(GenerateSingleBatchedAttribute):
(GenerateImplementation):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r107002 r107004  
     12012-02-07  Kentaro Hara  <haraken@chromium.org>
     2
     3        Rename [v8OnProto] IDL attribute to [V8OnProto] IDL attribute
     4        https://bugs.webkit.org/show_bug.cgi?id=77973
     5
     6        Reviewed by Adam Barth.
     7
     8        This patch renames [v8OnProto] to [V8OnProto], since V8 specific IDL
     9        attributes should be prefixed by "V8".
     10
     11        No tests. No change in behavior.
     12
     13        * bindings/scripts/CodeGeneratorV8.pm:
     14        (GenerateNormalAttrGetter):
     15        (GenerateNormalAttrSetter):
     16        (GenerateSingleBatchedAttribute):
     17        (GenerateImplementation):
     18
    1192011-10-10  Jer Noble  <jer.noble@apple.com>
    220
  • trunk/Source/WebCore/bindings/scripts/CodeGeneratorV8.pm

    r106998 r107004  
    811811            }
    812812        }
    813     } elsif ($attrExt->{"v8OnProto"} || $attrExt->{"V8Unforgeable"}) {
     813    } elsif ($attrExt->{"V8OnProto"} || $attrExt->{"V8Unforgeable"}) {
    814814        if ($interfaceName eq "DOMWindow") {
    815815            push(@implContentDecls, <<END);
     
    10551055            push(@implContentDecls, "    $svgWrappedNativeType* imp = &impInstance;\n");
    10561056        }
    1057     } elsif ($attrExt->{"v8OnProto"}) {
     1057    } elsif ($attrExt->{"V8OnProto"}) {
    10581058      if ($interfaceName eq "DOMWindow") {
    10591059        push(@implContentDecls, <<END);
     
    20312031
    20322032    # An accessor can be installed on the proto
    2033     if ($attrExt->{"v8OnProto"}) {
     2033    if ($attrExt->{"V8OnProto"}) {
    20342034        $on_proto = "1 /* on proto */";
    20352035    }
     
    22822282
    22832283        if ($attrType eq "EventListener" && $interfaceName eq "DOMWindow") {
    2284             $attribute->signature->extendedAttributes->{"v8OnProto"} = 1;
     2284            $attribute->signature->extendedAttributes->{"V8OnProto"} = 1;
    22852285        }
    22862286
Note: See TracChangeset for help on using the changeset viewer.