| Index: third_party/WebKit/Source/platform/UserGestureIndicator.cpp
|
| diff --git a/third_party/WebKit/Source/platform/UserGestureIndicator.cpp b/third_party/WebKit/Source/platform/UserGestureIndicator.cpp
|
| index fccbf7970c44a1e13d313300c7f09a0fc732961d..8738badceb5ed1fa4b9c23b0e8d2030f4365e4ab 100644
|
| --- a/third_party/WebKit/Source/platform/UserGestureIndicator.cpp
|
| +++ b/third_party/WebKit/Source/platform/UserGestureIndicator.cpp
|
| @@ -92,7 +92,6 @@ void UserGestureToken::userGestureUtilized() {
|
| }
|
|
|
| UserGestureToken* UserGestureIndicator::s_rootToken = nullptr;
|
| -bool UserGestureIndicator::s_processedUserGestureSinceLoad = false;
|
|
|
| UserGestureIndicator::UserGestureIndicator(PassRefPtr<UserGestureToken> token)
|
| : m_token(token) {
|
| @@ -104,7 +103,6 @@ UserGestureIndicator::UserGestureIndicator(PassRefPtr<UserGestureToken> token)
|
| s_rootToken = m_token.get();
|
| else
|
| m_token->transferGestureTo(s_rootToken);
|
| - s_processedUserGestureSinceLoad = true;
|
| }
|
|
|
| UserGestureIndicator::~UserGestureIndicator() {
|
| @@ -151,17 +149,4 @@ UserGestureToken* UserGestureIndicator::currentToken() {
|
| return s_rootToken;
|
| }
|
|
|
| -// static
|
| -void UserGestureIndicator::clearProcessedUserGestureSinceLoad() {
|
| - if (isMainThread())
|
| - s_processedUserGestureSinceLoad = false;
|
| -}
|
| -
|
| -// static
|
| -bool UserGestureIndicator::processedUserGestureSinceLoad() {
|
| - if (!isMainThread())
|
| - return false;
|
| - return s_processedUserGestureSinceLoad;
|
| -}
|
| -
|
| } // namespace blink
|
|
|