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

Unified Diff: third_party/WebKit/Source/core/testing/UnionTypesTest.cpp

Issue 2001493002: Update union conversion algorithm (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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: third_party/WebKit/Source/core/testing/UnionTypesTest.cpp
diff --git a/third_party/WebKit/Source/core/testing/UnionTypesTest.cpp b/third_party/WebKit/Source/core/testing/UnionTypesTest.cpp
index 3e134f78931103f0b586b1a33ea28b118603cc85..af4e52a609d374e0b23a839aadf7b36ca9042d36 100644
--- a/third_party/WebKit/Source/core/testing/UnionTypesTest.cpp
+++ b/third_party/WebKit/Source/core/testing/UnionTypesTest.cpp
@@ -159,4 +159,13 @@ String UnionTypesTest::doubleOrStringOrStringSequenceArg(const DoubleOrStringOrS
return builder.substring(0, builder.length() - 2) + "]";
}
+String UnionTypesTest::internalDictionaryOrStringSequenceArg(const InternalDictionaryOrStringSequence& argument)
+{
+ if (argument.isInternalDictionary())
+ return "InternalDictionary";
+ if (argument.isStringSequence())
+ return "sequence<DOMString>";
+ return "";
+}
+
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698