Chromium Code Reviews| Index: Source/core/html/HTMLFormControlElement.cpp |
| diff --git a/Source/core/html/HTMLFormControlElement.cpp b/Source/core/html/HTMLFormControlElement.cpp |
| index 9bc9d1d066208c6f0da2f899a2b25720ddcf877d..484162b1199099c17414985d738e79702e43d62f 100644 |
| --- a/Source/core/html/HTMLFormControlElement.cpp |
| +++ b/Source/core/html/HTMLFormControlElement.cpp |
| @@ -65,7 +65,6 @@ HTMLFormControlElement::~HTMLFormControlElement() |
| { |
| #if !ENABLE(OILPAN) |
| setForm(0); |
| - hideVisibleValidationMessage(); |
|
haraken
2014/05/07 12:50:20
tkent-san: I'm not sure if we can remove this. See
Mads Ager (chromium)
2014/05/08 09:08:59
Kent confirmed that this can be removed on the oth
|
| #endif |
| } |
| @@ -423,8 +422,8 @@ bool HTMLFormControlElement::checkValidity(Vector<RefPtr<FormAssociatedElement> |
| if (!willValidate() || isValidFormControlElement()) |
| return true; |
| // An event handler can deref this object. |
| - RefPtr<HTMLFormControlElement> protector(this); |
| - RefPtr<Document> originalDocument(document()); |
| + RefPtrWillBeRawPtr<HTMLFormControlElement> protector(this); |
| + RefPtrWillBeRawPtr<Document> originalDocument(document()); |
| bool needsDefaultAction = dispatchEvent(Event::createCancelable(EventTypeNames::invalid)); |
| if (needsDefaultAction && unhandledInvalidControls && inDocument() && originalDocument == document()) |
| unhandledInvalidControls->append(this); |