| Index: content/browser/web_contents/web_contents_impl.cc
|
| diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
|
| index 95352e39037f7de388debb2bc04e92fd0232a898..6603fa0c3c9d2c0916e0bfdf9df4f0ed2c0b044c 100644
|
| --- a/content/browser/web_contents/web_contents_impl.cc
|
| +++ b/content/browser/web_contents/web_contents_impl.cc
|
| @@ -1326,7 +1326,7 @@ WebContentsImpl::GetRenderWidgetHostViewsInTree() {
|
| return set;
|
| }
|
|
|
| -void WebContentsImpl::Activate() {
|
| +void WebContentsImpl::Activate(bool user_gesture) {
|
| if (delegate_)
|
| delegate_->ActivateContents(this);
|
| }
|
| @@ -3177,7 +3177,8 @@ void WebContentsImpl::NotifyBeforeFormRepostWarningShow() {
|
| }
|
|
|
| void WebContentsImpl::ActivateAndShowRepostFormWarningDialog() {
|
| - Activate();
|
| + // TODO(johnme): Can we sometimes be certain this was for a user gesture?
|
| + Activate(false /* user_gesture */);
|
| if (delegate_)
|
| delegate_->ShowRepostFormWarningDialog(this);
|
| }
|
|
|