Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(630)

Unified Diff: Source/core/dom/Document.cpp

Issue 113093005: Revert "Fix renderer assert after autofill" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Document.cpp
diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
index 2e9ebcf57b3a5d410e775ff3202f8586cbf684aa..5a414bae9abb526fe0e730a0456c35baa50a1dca 100644
--- a/Source/core/dom/Document.cpp
+++ b/Source/core/dom/Document.cpp
@@ -3327,11 +3327,6 @@ bool Document::setFocusedElement(PassRefPtr<Element> prpNewFocusedElement, Focus
else
view()->setFocus(false);
}
-
- // Autofill client may have modified the value of newFocusedElement, thus require
- // a layout update here, otherwise it will assert at newFocusedElement->isFocusable().
- // See crbug.com/251163.
- updateLayoutIgnorePendingStylesheets();
}
if (newFocusedElement && newFocusedElement->isFocusable()) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698