| Index: third_party/WebKit/Source/core/inspector/InspectorDOMAgent.cpp
|
| diff --git a/third_party/WebKit/Source/core/inspector/InspectorDOMAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorDOMAgent.cpp
|
| index bc655b68ad36ff337d1585ef4552922a485b70dd..3d77289d626bc023dc17bc2731784f11cb09e579 100644
|
| --- a/third_party/WebKit/Source/core/inspector/InspectorDOMAgent.cpp
|
| +++ b/third_party/WebKit/Source/core/inspector/InspectorDOMAgent.cpp
|
| @@ -1313,7 +1313,7 @@ void InspectorDOMAgent::focus(ErrorString* errorString, int nodeId)
|
| if (!element)
|
| return;
|
|
|
| - element->document().updateLayoutIgnorePendingStylesheets();
|
| + element->document().updateStyleAndLayoutIgnorePendingStylesheets();
|
| if (!element->isFocusable()) {
|
| *errorString = "Element is not focusable";
|
| return;
|
|
|