| Index: Source/core/html/TextFieldInputType.cpp
|
| diff --git a/Source/core/html/TextFieldInputType.cpp b/Source/core/html/TextFieldInputType.cpp
|
| index 771d638a132c98561817b305233c2618d4b0efc1..6c51162e357af26914bd3ba96cb3ca8eb2897964 100644
|
| --- a/Source/core/html/TextFieldInputType.cpp
|
| +++ b/Source/core/html/TextFieldInputType.cpp
|
| @@ -246,30 +246,30 @@ void TextFieldInputType::createShadowSubtree()
|
|
|
| m_innerText = TextControlInnerTextElement::create(document);
|
| if (!createsContainer) {
|
| - element()->userAgentShadowRoot()->appendChild(m_innerText, IGNORE_EXCEPTION_STATE);
|
| + element()->userAgentShadowRoot()->appendChild(m_innerText, IGNORE_EXCEPTION);
|
| return;
|
| }
|
|
|
| ShadowRoot* shadowRoot = element()->userAgentShadowRoot();
|
| m_container = TextControlInnerContainer::create(document);
|
| m_container->setPseudo(AtomicString("-webkit-textfield-decoration-container", AtomicString::ConstructFromLiteral));
|
| - shadowRoot->appendChild(m_container, IGNORE_EXCEPTION_STATE);
|
| + shadowRoot->appendChild(m_container, IGNORE_EXCEPTION);
|
|
|
| m_innerBlock = TextControlInnerElement::create(document);
|
| - m_innerBlock->appendChild(m_innerText, IGNORE_EXCEPTION_STATE);
|
| - m_container->appendChild(m_innerBlock, IGNORE_EXCEPTION_STATE);
|
| + m_innerBlock->appendChild(m_innerText, IGNORE_EXCEPTION);
|
| + m_container->appendChild(m_innerBlock, IGNORE_EXCEPTION);
|
|
|
| #if ENABLE(INPUT_SPEECH)
|
| ASSERT(!m_speechButton);
|
| if (element()->isSpeechEnabled()) {
|
| m_speechButton = InputFieldSpeechButtonElement::create(document);
|
| - m_container->appendChild(m_speechButton, IGNORE_EXCEPTION_STATE);
|
| + m_container->appendChild(m_speechButton, IGNORE_EXCEPTION);
|
| }
|
| #endif
|
|
|
| if (shouldHaveSpinButton) {
|
| m_innerSpinButton = SpinButtonElement::create(document, *this);
|
| - m_container->appendChild(m_innerSpinButton, IGNORE_EXCEPTION_STATE);
|
| + m_container->appendChild(m_innerSpinButton, IGNORE_EXCEPTION);
|
| }
|
| }
|
|
|
| @@ -420,7 +420,7 @@ void TextFieldInputType::updatePlaceholderText()
|
| String placeholderText = element()->strippedPlaceholder();
|
| if (placeholderText.isEmpty()) {
|
| if (m_placeholder) {
|
| - m_placeholder->parentNode()->removeChild(m_placeholder.get(), ASSERT_NO_EXCEPTION_STATE);
|
| + m_placeholder->parentNode()->removeChild(m_placeholder.get(), ASSERT_NO_EXCEPTION);
|
| m_placeholder.clear();
|
| }
|
| return;
|
| @@ -428,9 +428,9 @@ void TextFieldInputType::updatePlaceholderText()
|
| if (!m_placeholder) {
|
| m_placeholder = HTMLDivElement::create(element()->document());
|
| m_placeholder->setPseudo(AtomicString("-webkit-input-placeholder", AtomicString::ConstructFromLiteral));
|
| - element()->userAgentShadowRoot()->insertBefore(m_placeholder, m_container ? m_container->nextSibling() : innerTextElement()->nextSibling(), ASSERT_NO_EXCEPTION_STATE);
|
| + element()->userAgentShadowRoot()->insertBefore(m_placeholder, m_container ? m_container->nextSibling() : innerTextElement()->nextSibling(), ASSERT_NO_EXCEPTION);
|
| }
|
| - m_placeholder->setInnerText(placeholderText, ASSERT_NO_EXCEPTION_STATE);
|
| + m_placeholder->setInnerText(placeholderText, ASSERT_NO_EXCEPTION);
|
| element()->fixPlaceholderRenderer(m_placeholder.get(), m_container ? m_container.get() : m_innerText.get());
|
| }
|
|
|
|
|