| 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 c68235442f5a6239801ebcad5393ff81b5fcf351..c93adb5767ade3e35b22b5afa9462e1a2514db9f 100644
|
| --- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| @@ -2066,6 +2066,18 @@ void WebLocalFrameImpl::loadData(const WebData& data,
|
| static_cast<HistoryLoadType>(webHistoryLoadType));
|
| }
|
|
|
| +bool WebLocalFrameImpl::maybeRenderFallbackContent(
|
| + const WebURLError& error) const {
|
| + DCHECK(frame());
|
| +
|
| + if (!frame()->owner() || !frame()->owner()->canRenderFallbackContent())
|
| + return false;
|
| +
|
| + FrameLoader& frameloader = frame()->loader();
|
| + frameloader.loadFailed(frameloader.documentLoader(), error);
|
| + return true;
|
| +}
|
| +
|
| bool WebLocalFrameImpl::isLoading() const {
|
| if (!frame() || !frame()->document())
|
| return false;
|
|
|