Index: third_party/WebKit/WebCore/bindings/js/JSDocumentCustom.cpp |
=================================================================== |
--- third_party/WebKit/WebCore/bindings/js/JSDocumentCustom.cpp (revision 9118) |
+++ third_party/WebKit/WebCore/bindings/js/JSDocumentCustom.cpp (working copy) |
@@ -73,7 +73,7 @@ |
str = activeFrame->document()->completeURL(str).string(); |
bool userGesture = activeFrame->script()->processingUserGesture(); |
- frame->loader()->scheduleLocationChange(str, activeFrame->loader()->outgoingReferrer(), false, false, userGesture); |
+ frame->loader()->scheduleLocationChange(str, activeFrame->loader()->outgoingReferrer(), !activeFrame->script()->anyPageIsProcessingUserGesture(), false, userGesture); |
} |
JSValuePtr toJS(ExecState* exec, Document* document) |