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 2f3a5d48100da1a317960d2b1780026e166549bf..db015fc469f5a3074b5ec72296455beb1effd92f 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLFormElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLFormElement.cpp |
@@ -263,7 +263,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) { |