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..076f639f4b321680154d79b27effd3ba42024dd9 100644 |
--- a/content/browser/android/content_view_core_impl.cc |
+++ b/content/browser/android/content_view_core_impl.cc |
@@ -1200,13 +1200,19 @@ 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, |
Ted C
2013/11/07 00:15:26
jobject obj should go on it's own line
|
+ jboolean check_for_repost) { |
+ web_contents_->GetController().ReloadIgnoringCache(check_for_repost); |
UpdateTabCrashedFlag(); |
} |