Chromium Code Reviews| Index: third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
| diff --git a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
| index 1943a85561a0a1532dd6762f7aa613ffa32afffd..b3f3867b8d56f7ff9897508ec262cfd1885ebef4 100644 |
| --- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
| +++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
| @@ -2078,8 +2078,8 @@ bool WebLocalFrameImpl::maybeRenderFallbackContent( |
| return false; |
| FrameLoader& frameloader = frame()->loader(); |
| - DCHECK(frameloader.provisionalDocumentLoader()); |
| - frameloader.loadFailed(frameloader.provisionalDocumentLoader(), error); |
| + if (frameloader.provisionalDocumentLoader()) |
|
arthursonzogni
2017/03/31 09:16:33
Can you add a comment that explain why the provisi
|
| + frameloader.loadFailed(frameloader.provisionalDocumentLoader(), error); |
| return true; |
|
arthursonzogni
2017/03/31 09:16:33
Returning true here will not work. You can try to
Nate Chapin
2017/03/31 23:59:59
Is it safe to unconditionally call DidStopLoading
|
| } |