| Index: third_party/WebKit/Source/core/frame/Frame.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/Frame.cpp b/third_party/WebKit/Source/core/frame/Frame.cpp
|
| index 6f7a7402da5898e23d8477e1302556579c2b8883..c4691bde5b97d126b4bf924e0552ad3c85840e61 100644
|
| --- a/third_party/WebKit/Source/core/frame/Frame.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/Frame.cpp
|
| @@ -167,8 +167,7 @@ bool Frame::canNavigate(const Frame& targetFrame) {
|
| canNavigateWithoutFramebusting(targetFrame, errorReason);
|
| const bool sandboxed = securityContext()->getSandboxFlags() != SandboxNone;
|
| const bool hasUserGesture =
|
| - isLocalFrame() ? toLocalFrame(this)->document()->hasReceivedUserGesture()
|
| - : false;
|
| + isLocalFrame() ? toLocalFrame(this)->hasReceivedUserGesture() : false;
|
|
|
| // Top navigation in sandbox with or w/o 'allow-top-navigation'.
|
| if (targetFrame != this && sandboxed && targetFrame == tree().top()) {
|
|
|