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 ac001d67b038935366a3c684038eb211ed2e1b4c..3011eaa553a9e220ba546d56e460a14eafe3574e 100644 |
--- a/third_party/WebKit/Source/core/frame/LocalFrame.cpp |
+++ b/third_party/WebKit/Source/core/frame/LocalFrame.cpp |
@@ -534,6 +534,11 @@ void LocalFrame::didChangeVisibilityState() { |
Frame::didChangeVisibilityState(); |
} |
+void LocalFrame::setDocumentHasReceivedUserGesture() { |
+ if (document()) |
+ document()->setHasReceivedUserGesture(); |
+} |
+ |
LocalFrame* LocalFrame::localFrameRoot() { |
LocalFrame* curFrame = this; |
while (curFrame && curFrame->tree().parent() && |