| Index: third_party/WebKit/Source/core/html/forms/SearchInputType.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/forms/SearchInputType.cpp b/third_party/WebKit/Source/core/html/forms/SearchInputType.cpp
|
| index bb7db83a37d5f9220829d95b3466a04909c6e709..32d78bbf07f066cb550449c676dcd80e9846133f 100644
|
| --- a/third_party/WebKit/Source/core/html/forms/SearchInputType.cpp
|
| +++ b/third_party/WebKit/Source/core/html/forms/SearchInputType.cpp
|
| @@ -81,8 +81,8 @@ void SearchInputType::createShadowSubtree()
|
| TextFieldInputType::createShadowSubtree();
|
| Element* container = containerElement();
|
| Element* viewPort = element().userAgentShadowRoot()->getElementById(ShadowElementNames::editingViewPort());
|
| - ASSERT(container);
|
| - ASSERT(viewPort);
|
| + DCHECK(container);
|
| + DCHECK(viewPort);
|
| container->insertBefore(SearchFieldCancelButtonElement::create(element().document()), viewPort->nextSibling());
|
| }
|
|
|
| @@ -105,7 +105,7 @@ void SearchInputType::handleKeydownEvent(KeyboardEvent* event)
|
|
|
| void SearchInputType::startSearchEventTimer()
|
| {
|
| - ASSERT(element().layoutObject());
|
| + DCHECK(element().layoutObject());
|
| unsigned length = element().innerEditorValue().length();
|
|
|
| if (!length) {
|
|
|