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

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

Issue 47073007: Bindings: Remove special cases for DOMStringList (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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
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 0dcefb17483de120efbb3906e4273a8c29e888c4..73a7a75c208a286b0b22bf382ce472bc5e0df32b 100644
--- a/Source/bindings/scripts/code_generator_v8.pm
+++ b/Source/bindings/scripts/code_generator_v8.pm
@@ -5279,7 +5279,7 @@ sub GetNativeType
}
# We need to check [ImplementedAs] extended attribute for wrapper types.
- return "RefPtr<$type>" if $type eq "DOMStringList" or $type eq "XPathNSResolver"; # FIXME: can these be put in nonWrapperTypes instead?
+ return "RefPtr<$type>" if $type eq "XPathNSResolver"; # FIXME: can this be put in nonWrapperTypes instead?
if (IsWrapperType($type)) {
my $interface = ParseInterface($type);
my $implClassName = GetImplName($interface);
@@ -5371,7 +5371,6 @@ sub JSValueToNative
}
return "static_cast<Range::CompareHow>($value->Int32Value())" if $type eq "CompareHow";
return "toWebCoreDate($value)" if $type eq "Date";
- return "toDOMStringList($value, $getIsolate)" if $type eq "DOMStringList";
if ($type eq "DOMString" or IsEnumType($type)) {
return $value;
« no previous file with comments | « no previous file | Source/bindings/scripts/unstable/v8_types.py » ('j') | Source/bindings/tests/results/V8TestCallback.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698