Index: services/navigation/view_impl.cc |
diff --git a/services/navigation/view_impl.cc b/services/navigation/view_impl.cc |
index bb6145d7549c0e39ce39f35d0a6211e29519f299..ad86413e3468c27e96e3a449d7396765f8e238a2 100644 |
--- a/services/navigation/view_impl.cc |
+++ b/services/navigation/view_impl.cc |
@@ -99,11 +99,11 @@ void ViewImpl::NavigateToOffset(int offset) { |
web_view_->GetWebContents()->GetController().GoToOffset(offset); |
} |
-void ViewImpl::Reload(bool skip_cache) { |
- if (skip_cache) |
- web_view_->GetWebContents()->GetController().Reload(true); |
- else |
- web_view_->GetWebContents()->GetController().ReloadBypassingCache(true); |
+void ViewImpl::Reload(bool bypass_cache) { |
+ web_view_->GetWebContents()->GetController().Reload( |
+ true, |
+ bypass_cache ? content::ReloadType::BYPASSING_CACHE |
+ : content::ReloadType::NORMAL); |
} |
void ViewImpl::Stop() { |