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 00c8ca2d67c0f489f10c7ad4862100d0f336bb41..6a7688b4817567c722a4bd8a62bdb8d39f05bc73 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(); |