Index: third_party/WebKit/Source/web/WebUserGestureIndicator.cpp |
diff --git a/third_party/WebKit/Source/web/WebUserGestureIndicator.cpp b/third_party/WebKit/Source/web/WebUserGestureIndicator.cpp |
index 9e206ee672285d8f65d9e4ab2ebdc81498015bd3..0ad2930f691891232c94329a56d781a7d01ea27a 100644 |
--- a/third_party/WebKit/Source/web/WebUserGestureIndicator.cpp |
+++ b/third_party/WebKit/Source/web/WebUserGestureIndicator.cpp |
@@ -53,8 +53,7 @@ bool WebUserGestureIndicator::consumeUserGesture() { |
bool WebUserGestureIndicator::processedUserGestureSinceLoad( |
WebLocalFrame* frame) { |
- Document* document = toWebLocalFrameImpl(frame)->frame()->document(); |
- return document->hasReceivedUserGesture(); |
+ return toWebLocalFrameImpl(frame)->frame()->hasReceivedUserGesture(); |
} |
WebUserGestureToken WebUserGestureIndicator::currentUserGestureToken() { |