Index: third_party/WebKit/Source/web/WebFrame.cpp |
diff --git a/third_party/WebKit/Source/web/WebFrame.cpp b/third_party/WebKit/Source/web/WebFrame.cpp |
index e7625d25995f2e6b7a662398127fa8e65f8ebe77..a12cb5def6bb147df9e449e00e7af484ec540f9e 100644 |
--- a/third_party/WebKit/Source/web/WebFrame.cpp |
+++ b/third_party/WebKit/Source/web/WebFrame.cpp |
@@ -105,6 +105,9 @@ bool WebFrame::swap(WebFrame* frame) { |
uniqueName); |
} |
+ if (oldFrame->hasReceivedUserGesture()) |
+ frame->toImplBase()->frame()->setDocumentHasReceivedUserGesture(); |
+ |
frame->toImplBase()->frame()->getWindowProxyManager()->setGlobals(globals); |
m_parent = nullptr; |