Index: third_party/WebKit/Source/core/html/HTMLSelectElement.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLSelectElement.cpp b/third_party/WebKit/Source/core/html/HTMLSelectElement.cpp |
index 8254a174992b257075ca6c8496c67d03e5300c9d..dc249ccff3b9dedac68141cd7c74b477d8ecf774 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLSelectElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLSelectElement.cpp |
@@ -503,7 +503,7 @@ void HTMLSelectElement::setLength(unsigned newLen, ExceptionState& exceptionStat |
if (diff < 0) { // Add dummy elements. |
do { |
- appendChild(document().createElement(optionTag, false), exceptionState); |
+ appendChild(document().createElement(optionTag, SynchronousCustomElements), exceptionState); |
if (exceptionState.hadException()) |
break; |
} while (++diff); |