Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(388)

Unified Diff: third_party/WebKit/Source/web/WebUserGestureIndicator.cpp

Issue 2625773002: Reenable framebusting (Closed)
Patch Set: Pass through FrameReplicationState Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp ('k') | third_party/WebKit/Source/web/WebViewImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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() {
« no previous file with comments | « third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp ('k') | third_party/WebKit/Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698