| 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 8f1179a3caf2c2d545e552e07a6763c2ef17e9c8..0bb07e1fe6447ffbac5cef49076530338dd7b7df 100644
|
| --- a/content/browser/android/content_view_core_impl.cc
|
| +++ b/content/browser/android/content_view_core_impl.cc
|
| @@ -1200,13 +1200,20 @@ void ContentViewCoreImpl::StopLoading(JNIEnv* env, jobject obj) {
|
| web_contents_->Stop();
|
| }
|
|
|
| -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).
|
| +void ContentViewCoreImpl::Reload(JNIEnv* env,
|
| + jobject obj,
|
| + jboolean check_for_repost) {
|
| if (web_contents_->GetController().NeedsReload())
|
| web_contents_->GetController().LoadIfNecessary();
|
| else
|
| - web_contents_->GetController().Reload(true);
|
| + web_contents_->GetController().Reload(check_for_repost);
|
| + UpdateTabCrashedFlag();
|
| +}
|
| +
|
| +void ContentViewCoreImpl::ReloadIgnoringCache(JNIEnv* env,
|
| + jobject obj,
|
| + jboolean check_for_repost) {
|
| + web_contents_->GetController().ReloadIgnoringCache(check_for_repost);
|
| UpdateTabCrashedFlag();
|
| }
|
|
|
|
|