| 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 16a0517b5ac0776da951bcdfedbbbe532eaeaf75..48dd13491cfb7e7df9a08d04e9f7fa9d8b212049 100644
|
| --- a/third_party/WebKit/Source/core/inspector/InspectorDOMAgent.cpp
|
| +++ b/third_party/WebKit/Source/core/inspector/InspectorDOMAgent.cpp
|
| @@ -1315,7 +1315,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;
|
|
|