Chromium Code Reviews| Index: third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp |
| diff --git a/third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp |
| index 6c459fc45b15bd19d7e4e2580eccd31d79eda997..9a04b5fa839e92f453927ca9d27e41d43a321549 100644 |
| --- a/third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp |
| +++ b/third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp |
| @@ -417,6 +417,8 @@ void InspectorPageAgent::reload(ErrorString*, const Maybe<bool>& optionalBypassC |
| m_pendingScriptToEvaluateOnLoadOnce = optionalScriptToEvaluateOnLoad.fromMaybe(""); |
| m_v8Session->setSkipAllPauses(true); |
| m_reloading = true; |
| + if (m_client) |
| + m_client->willReloadPage(); |
|
dgozman
2016/08/10 21:28:37
What if we reload not through the protocol? Also,
|
| m_inspectedFrames->root()->reload(optionalBypassCache.fromMaybe(false) ? FrameLoadTypeReloadBypassingCache : FrameLoadTypeReload, ClientRedirectPolicy::NotClientRedirect); |
| } |