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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/ScriptCustomElementDefinitionBuilder.cpp

Issue 2316263003: Add toImplSequence() (Closed)
Patch Set: style Created 4 years, 3 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/core/v8/ScriptCustomElementDefinitionBuilder.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptCustomElementDefinitionBuilder.cpp b/third_party/WebKit/Source/bindings/core/v8/ScriptCustomElementDefinitionBuilder.cpp
index 6139058a7107d9839bb5736cf8e6be2003410fa5..7380fb065a2919f82f3a82c1671cb8abe5d951cf 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptCustomElementDefinitionBuilder.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptCustomElementDefinitionBuilder.cpp
@@ -138,8 +138,8 @@ bool ScriptCustomElementDefinitionBuilder::retrieveObservedAttributes()
return false;
if (observedAttributesValue->IsUndefined())
return true;
- Vector<AtomicString> list = toImplArray<Vector<AtomicString>>(
- observedAttributesValue, 0, m_scriptState->isolate(), m_exceptionState);
+ Vector<AtomicString> list = toImplSequence<Vector<AtomicString>>(
+ observedAttributesValue, m_scriptState->isolate(), m_exceptionState);
if (m_exceptionState.hadException())
return false;
if (list.isEmpty())

Powered by Google App Engine
This is Rietveld 408576698