| Index: Source/web/WebLocalFrameImpl.cpp
|
| diff --git a/Source/web/WebLocalFrameImpl.cpp b/Source/web/WebLocalFrameImpl.cpp
|
| index 6e3219b1147302652007e548b9c9b4bf59bec3bc..a8b13fd5f447584e00d65ee06be89875e188dc4d 100644
|
| --- a/Source/web/WebLocalFrameImpl.cpp
|
| +++ b/Source/web/WebLocalFrameImpl.cpp
|
| @@ -1842,15 +1842,16 @@ void WebLocalFrameImpl::setFindEndstateFocusAndSelection()
|
| }
|
| }
|
|
|
| -void WebLocalFrameImpl::didFail(const ResourceError& error, bool wasProvisional)
|
| +void WebLocalFrameImpl::didFail(const ResourceError& error, bool wasProvisional, HistoryCommitType commitType)
|
| {
|
| if (!client())
|
| return;
|
| WebURLError webError = error;
|
| + WebHistoryCommitType webCommitType = static_cast<WebHistoryCommitType>(commitType);
|
| if (wasProvisional)
|
| - client()->didFailProvisionalLoad(this, webError);
|
| + client()->didFailProvisionalLoad(this, webError, webCommitType);
|
| else
|
| - client()->didFailLoad(this, webError);
|
| + client()->didFailLoad(this, webError, webCommitType);
|
| }
|
|
|
| void WebLocalFrameImpl::setCanHaveScrollbars(bool canHaveScrollbars)
|
|
|