Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(242)

Unified Diff: Source/bindings/scripts/deprecated_code_generator_v8.pm

Issue 19368004: Get rid of special casing for 'operator' from the bindings generator (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Build fix Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/core/svg/SVGFECompositeElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/scripts/deprecated_code_generator_v8.pm
diff --git a/Source/bindings/scripts/deprecated_code_generator_v8.pm b/Source/bindings/scripts/deprecated_code_generator_v8.pm
index f0b83d48668bc9ad90914a4efae57049e9bc82d2..3d715fa995a8b404f53a1dd2553ac079b29bb53a 100644
--- a/Source/bindings/scripts/deprecated_code_generator_v8.pm
+++ b/Source/bindings/scripts/deprecated_code_generator_v8.pm
@@ -5769,6 +5769,7 @@ sub FirstLetterToUpperCase
$ret =~ s/Xml/XML/ if $ret =~ /^Xml[^a-z]/;
$ret =~ s/Css/CSS/ if $ret =~ /^Css[^T]/; # css -> setCSS, except setCssText.
$ret =~ s/Ime/IME/ if $ret =~ /^Ime/; # ime -> setIME
+ $ret =~ s/Svg/SVG/ if $ret =~ /^Svg/; # svg -> setSVG
return $ret;
}
@@ -5825,9 +5826,6 @@ sub AttributeNameForGetterAndSetter
}
my $attributeType = $attribute->type;
- # Avoid clash with C++ keyword.
- $attributeName = "_operator" if $attributeName eq "operator";
-
return $attributeName;
}
« no previous file with comments | « no previous file | Source/core/svg/SVGFECompositeElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698