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 7f9a9b9875bec402e0c131c313c40a0dd413cd1d..21675c4bea4b22be75a590d5c86ee570884805c8 100644 |
--- a/third_party/WebKit/Source/platform/UserGestureIndicator.cpp |
+++ b/third_party/WebKit/Source/platform/UserGestureIndicator.cpp |
@@ -114,7 +114,6 @@ static void RecordUserGestureMerge(const UserGestureToken& oldToken, |
} |
UserGestureToken* UserGestureIndicator::s_rootToken = nullptr; |
-bool UserGestureIndicator::s_processedUserGestureSinceLoad = false; |
UserGestureIndicator::UserGestureIndicator(PassRefPtr<UserGestureToken> token) |
: m_token(token) { |
@@ -128,7 +127,6 @@ UserGestureIndicator::UserGestureIndicator(PassRefPtr<UserGestureToken> token) |
RecordUserGestureMerge(*s_rootToken, *m_token); |
m_token->transferGestureTo(s_rootToken); |
} |
- s_processedUserGestureSinceLoad = true; |
} |
UserGestureIndicator::~UserGestureIndicator() { |
@@ -175,17 +173,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 |