| Index: third_party/WebKit/Source/core/loader/FormSubmission.cpp
|
| diff --git a/third_party/WebKit/Source/core/loader/FormSubmission.cpp b/third_party/WebKit/Source/core/loader/FormSubmission.cpp
|
| index de7831e1164a44d7164080ed4008675ffb32e21b..3d26a2b8e3802c49e142abdd6fb9bdba9938d018 100644
|
| --- a/third_party/WebKit/Source/core/loader/FormSubmission.cpp
|
| +++ b/third_party/WebKit/Source/core/loader/FormSubmission.cpp
|
| @@ -129,7 +129,7 @@ String FormSubmission::Attributes::methodString(SubmitMethod method)
|
| case DialogMethod:
|
| return "dialog";
|
| }
|
| - ASSERT_NOT_REACHED();
|
| + NOTREACHED();
|
| return emptyString();
|
| }
|
|
|
| @@ -164,7 +164,7 @@ inline FormSubmission::FormSubmission(const String& result)
|
|
|
| FormSubmission* FormSubmission::create(HTMLFormElement* form, const Attributes& attributes, Event* event)
|
| {
|
| - ASSERT(form);
|
| + DCHECK(form);
|
|
|
| HTMLFormControlElement* submitButton = 0;
|
| if (event && event->target()) {
|
| @@ -223,7 +223,7 @@ FormSubmission* FormSubmission::create(HTMLFormElement* form, const Attributes&
|
| bool containsPasswordData = false;
|
| for (unsigned i = 0; i < form->associatedElements().size(); ++i) {
|
| FormAssociatedElement* control = form->associatedElements()[i];
|
| - ASSERT(control);
|
| + DCHECK(control);
|
| HTMLElement& element = toHTMLElement(*control);
|
| if (!element.isDisabledFormControl())
|
| control->appendToFormData(*domFormData);
|
|
|