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 6fa75cf9bc647ce1230b616b021a0adf8eee7440..949107e3fb719dbce2e69ce976e62b5fbeff64d6 100644 |
--- a/third_party/WebKit/Source/core/frame/LocalFrame.cpp |
+++ b/third_party/WebKit/Source/core/frame/LocalFrame.cpp |
@@ -515,6 +515,8 @@ void LocalFrame::documentAttached() { |
selection().documentAttached(document()); |
inputMethodController().documentAttached(document()); |
spellChecker().documentAttached(document()); |
+ if (isMainFrame()) |
+ m_hasReceivedUserGesture = false; |
} |
LocalDOMWindow* LocalFrame::domWindow() const { |