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

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

Issue 27003002: IDL compiler: [Reflect] for getters (+ remove unnecessary WebCore::) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Reupload Created 7 years, 2 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/bindings/scripts/unstable/v8_attributes.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/scripts/code_generator_v8.pm
diff --git a/Source/bindings/scripts/code_generator_v8.pm b/Source/bindings/scripts/code_generator_v8.pm
index 886ed7d7003417adba21f53f45d0ac51515a35f9..d6437e739af473e12bae344e78215bef4b91c397 100644
--- a/Source/bindings/scripts/code_generator_v8.pm
+++ b/Source/bindings/scripts/code_generator_v8.pm
@@ -6053,7 +6053,7 @@ sub ContentAttributeName
AddToImplIncludes("${namespace}.h");
# Attr (not Attribute) used in core content attributes
- return "WebCore::${namespace}::${contentAttributeName}Attr";
+ return "${namespace}::${contentAttributeName}Attr";
}
sub GetterExpression
@@ -6076,13 +6076,13 @@ sub GetterExpression
} elsif ($attribute->type eq "unsigned long") {
$functionName = "getUnsignedIntegralAttribute";
} else {
- if ($contentAttributeName eq "WebCore::HTMLNames::idAttr") {
+ if ($contentAttributeName eq "HTMLNames::idAttr") {
$functionName = "getIdAttribute";
$contentAttributeName = "";
- } elsif ($contentAttributeName eq "WebCore::HTMLNames::nameAttr") {
+ } elsif ($contentAttributeName eq "HTMLNames::nameAttr") {
$functionName = "getNameAttribute";
$contentAttributeName = "";
- } elsif ($contentAttributeName eq "WebCore::HTMLNames::classAttr") {
+ } elsif ($contentAttributeName eq "HTMLNames::classAttr") {
$functionName = "getClassAttribute";
$contentAttributeName = "";
} else {
« no previous file with comments | « no previous file | Source/bindings/scripts/unstable/v8_attributes.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698