Index: third_party/WebKit/Source/core/html/HTMLLegendElement.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLLegendElement.cpp b/third_party/WebKit/Source/core/html/HTMLLegendElement.cpp |
index f474957eb4cc9f1695153baa740b5323ccd50497..b7aa38aa1c1d7e7f1133f96dddc5bbd5e002e4ab 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLLegendElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLLegendElement.cpp |
@@ -55,7 +55,7 @@ HTMLFormControlElement* HTMLLegendElement::associatedControl() |
void HTMLLegendElement::focus(const FocusParams& params) |
{ |
- document().updateLayoutTreeForNode(this); |
+ document().updateStyleAndLayoutTreeForNode(this); |
if (isFocusable()) { |
Element::focus(params); |
return; |