Chromium Code Reviews| Index: content/browser/devtools/protocol/page_handler.cc |
| diff --git a/content/browser/devtools/protocol/page_handler.cc b/content/browser/devtools/protocol/page_handler.cc |
| index f1361e7630c8641fe71f6be837a92b0aaf60554d..99e6ad202a1efb4789b6456a895c77c7e91c8cf4 100644 |
| --- a/content/browser/devtools/protocol/page_handler.cc |
| +++ b/content/browser/devtools/protocol/page_handler.cc |
| @@ -214,10 +214,10 @@ Response PageHandler::Reload(Maybe<bool> bypassCache, |
| if (web_contents->IsCrashed() || |
| (web_contents->GetController().GetVisibleEntry() && |
| web_contents->GetController().GetVisibleEntry()->IsViewSourceMode())) { |
| - if (bypassCache.fromMaybe(false)) |
| - web_contents->GetController().ReloadBypassingCache(false); |
| - else |
| - web_contents->GetController().Reload(false); |
| + web_contents->GetController().Reload(bypassCache.fromMaybe(false) |
| + ? ReloadType::BYPASSING_CACHE |
| + : ReloadType::NORMAL, |
| + false); |
|
Takashi Toyoshima
2016/12/15 06:21:52
devtools will be ok to use false
|
| return Response::OK(); |
| } else { |
| // Handle reload in renderer except for crashed and view source mode. |