Chromium Code Reviews| Index: third_party/WebKit/Source/core/loader/FrameLoader.cpp |
| diff --git a/third_party/WebKit/Source/core/loader/FrameLoader.cpp b/third_party/WebKit/Source/core/loader/FrameLoader.cpp |
| index f773065636dfe57d0ae6fe63423fc7970a3b896d..f87be78eb35f2333e12358d3424fe7d03e74233f 100644 |
| --- a/third_party/WebKit/Source/core/loader/FrameLoader.cpp |
| +++ b/third_party/WebKit/Source/core/loader/FrameLoader.cpp |
| @@ -1231,6 +1231,11 @@ void FrameLoader::stopAllLoaders() { |
| m_inStopAllLoaders = true; |
| + if (m_isNavigationHandledByClient && client()) { |
|
Nate Chapin
2017/02/09 00:10:07
I'm ~99% confident client() should be guaranteed n
ananta
2017/02/09 00:22:46
Thanks. Removed the null check
|
| + client()->dispatchDidFailProvisionalLoad( |
| + ResourceError::cancelledError(String()), StandardCommit); |
| + } |
| + |
| m_isNavigationHandledByClient = false; |
| for (Frame* child = m_frame->tree().firstChild(); child; |