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

Unified Diff: third_party/WebKit/Source/bindings/tests/results/core/StringSequenceCallbackFunctionLongSequenceArg.cpp

Issue 2810843002: bindings: Make the sequence conversion code more complaint with WebIDL. (Closed)
Patch Set: Adjust even more tests Created 3 years, 8 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/bindings/tests/results/core/StringSequenceCallbackFunctionLongSequenceArg.cpp
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/StringSequenceCallbackFunctionLongSequenceArg.cpp b/third_party/WebKit/Source/bindings/tests/results/core/StringSequenceCallbackFunctionLongSequenceArg.cpp
index 3f118fb2399c69530535516137ec2e12cf9d3a7b..bf194107021dfa5784a390da55c73aab382394b8 100644
--- a/third_party/WebKit/Source/bindings/tests/results/core/StringSequenceCallbackFunctionLongSequenceArg.cpp
+++ b/third_party/WebKit/Source/bindings/tests/results/core/StringSequenceCallbackFunctionLongSequenceArg.cpp
@@ -78,7 +78,7 @@ bool StringSequenceCallbackFunctionLongSequenceArg::call(ScriptWrappable* script
return false;
}
- Vector<String> cppValue = ToImplArray<Vector<String>>(v8ReturnValue, 0, m_scriptState->GetIsolate(), exceptionState);
+ Vector<String> cppValue = NativeValueTraits<IDLSequence<IDLString>>::NativeValue(m_scriptState->GetIsolate(), v8ReturnValue, exceptionState);
if (exceptionState.HadException())
return false;
returnValue = cppValue;

Powered by Google App Engine
This is Rietveld 408576698