| Index: third_party/WebKit/Source/core/dom/Element.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/Element.cpp b/third_party/WebKit/Source/core/dom/Element.cpp
|
| index 10b4fb1ed15d6cfb6d9ad5d3351516df49d395f4..89a1de325a4a4ab6f45fc6bd18867fa26843c5c4 100644
|
| --- a/third_party/WebKit/Source/core/dom/Element.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Element.cpp
|
| @@ -138,7 +138,6 @@
|
| #include "core/svg/SVGElement.h"
|
| #include "platform/EventDispatchForbiddenScope.h"
|
| #include "platform/RuntimeEnabledFeatures.h"
|
| -#include "platform/UserGestureIndicator.h"
|
| #include "platform/graphics/CompositorMutableProperties.h"
|
| #include "platform/graphics/CompositorMutation.h"
|
| #include "platform/scroll/ScrollableArea.h"
|
| @@ -2626,7 +2625,7 @@ void Element::focus(const FocusParams& params) {
|
| return;
|
|
|
| if (document().focusedElement() == this &&
|
| - UserGestureIndicator::processedUserGestureSinceLoad()) {
|
| + document().hasReceivedUserGesture()) {
|
| // Bring up the keyboard in the context of anything triggered by a user
|
| // gesture. Since tracking that across arbitrary boundaries (eg.
|
| // animations) is difficult, for now we match IE's heuristic and bring
|
|
|