summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chromium/content/browser/web_contents/web_contents_impl.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chromium/content/browser/web_contents/web_contents_impl.cc b/chromium/content/browser/web_contents/web_contents_impl.cc
index 52bff701c86..2bb3d014157 100644
--- a/chromium/content/browser/web_contents/web_contents_impl.cc
+++ b/chromium/content/browser/web_contents/web_contents_impl.cc
@@ -5031,7 +5031,8 @@ void WebContentsImpl::OnSavePage() {
return;
}
- Stop();
+ if (IsLoading())
+ Stop();
// Create the save package and possibly prompt the user for the name to save
// the page as. The user prompt is an asynchronous operation that runs on