| Index: third_party/WebKit/Source/core/html/HTMLFormElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLFormElement.cpp b/third_party/WebKit/Source/core/html/HTMLFormElement.cpp
|
| index c5200edbf03c3b1794311ef801021aa8b1bee69d..9f63107b07ca486f1b9aa5b7e94ca4a23922d7b3 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLFormElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLFormElement.cpp
|
| @@ -267,7 +267,7 @@ bool HTMLFormElement::validateInteractively()
|
|
|
| // Needs to update layout now because we'd like to call isFocusable(), which
|
| // has !layoutObject()->needsLayout() assertion.
|
| - document().updateLayoutIgnorePendingStylesheets();
|
| + document().updateStyleAndLayoutIgnorePendingStylesheets();
|
|
|
| // Focus on the first focusable control and show a validation message.
|
| for (unsigned i = 0; i < unhandledInvalidControls.size(); ++i) {
|
|
|