Index: content/browser/android/content_view_core_impl.cc |
diff --git a/content/browser/android/content_view_core_impl.cc b/content/browser/android/content_view_core_impl.cc |
index 9a88630af82c50ad8faa13fd2a64d3808330bb29..94ceaad27f53ceb49ee3179e560888a841a80ff3 100644 |
--- a/content/browser/android/content_view_core_impl.cc |
+++ b/content/browser/android/content_view_core_impl.cc |
@@ -870,7 +870,10 @@ void ContentViewCoreImpl::StopLoading(JNIEnv* env, jobject obj) { |
void ContentViewCoreImpl::Reload(JNIEnv* env, jobject obj) { |
// Set check_for_repost parameter to false as we have no repost confirmation |
// dialog ("confirm form resubmission" screen will still appear, however). |
- web_contents_->GetController().Reload(true); |
+ if (web_contents_->GetController().NeedsReload()) |
+ web_contents_->GetController().LoadIfNecessary(); |
+ else |
+ web_contents_->GetController().Reload(true); |
tab_crashed_ = false; |
} |