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

Unified Diff: third_party/WebKit/Source/core/frame/LocalFrame.cpp

Issue 2625773002: Reenable framebusting (Closed)
Patch Set: Fix unit tests 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
Index: third_party/WebKit/Source/core/frame/LocalFrame.cpp
diff --git a/third_party/WebKit/Source/core/frame/LocalFrame.cpp b/third_party/WebKit/Source/core/frame/LocalFrame.cpp
index 1907c612ecacacf8518e5a8eeac891195e1271ea..59a68077d6fe9992c4882cfd42dcda877bbc8bbb 100644
--- a/third_party/WebKit/Source/core/frame/LocalFrame.cpp
+++ b/third_party/WebKit/Source/core/frame/LocalFrame.cpp
@@ -552,11 +552,6 @@ void LocalFrame::didChangeVisibilityState() {
Frame::didChangeVisibilityState();
}
-void LocalFrame::setDocumentHasReceivedUserGesture() {
- if (document())
- document()->setHasReceivedUserGesture();
-}
-
LocalFrame* LocalFrame::localFrameRoot() {
LocalFrame* curFrame = this;
while (curFrame && curFrame->tree().parent() &&

Powered by Google App Engine
This is Rietveld 408576698