Index: third_party/WebKit/Source/web/WebViewImpl.cpp |
diff --git a/third_party/WebKit/Source/web/WebViewImpl.cpp b/third_party/WebKit/Source/web/WebViewImpl.cpp |
index ec409dccc405fedd2d81baa707bbf09318ad3e77..56406c1252ee4b07585a6b15ce6f1daca8eed2fa 100644 |
--- a/third_party/WebKit/Source/web/WebViewImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebViewImpl.cpp |
@@ -442,7 +442,7 @@ WebViewImpl::UserGestureNotifier::UserGestureNotifier(WebViewImpl* view) |
WebViewImpl::UserGestureNotifier::~UserGestureNotifier() { |
if (!*m_userGestureObserved && m_frame && |
- m_frame->frame()->document()->hasReceivedUserGesture()) { |
+ m_frame->frame()->hasReceivedUserGesture()) { |
*m_userGestureObserved = true; |
if (m_frame && m_frame->autofillClient()) |
m_frame->autofillClient()->firstUserGestureObserved(); |