Index: services/navigation/view_impl.cc |
diff --git a/services/navigation/view_impl.cc b/services/navigation/view_impl.cc |
index da3a043a77e757a1290ee1726bc16ec9184f2ab6..6434335e8a4e772d10ca4ffdf41e68daf411df23 100644 |
--- a/services/navigation/view_impl.cc |
+++ b/services/navigation/view_impl.cc |
@@ -109,11 +109,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( |
+ bypass_cache ? content::ReloadType::BYPASSING_CACHE |
+ : content::ReloadType::NORMAL, |
+ true); |
} |
void ViewImpl::Stop() { |