| Index: Source/platform/exported/WebURLError.cpp
|
| diff --git a/Source/platform/exported/WebURLError.cpp b/Source/platform/exported/WebURLError.cpp
|
| index 9858316838800cb5f71612fcedfa47b530cc25b1..ca7ac16abe80541ef90cf72c180e3ce2a52ad8d1 100644
|
| --- a/Source/platform/exported/WebURLError.cpp
|
| +++ b/Source/platform/exported/WebURLError.cpp
|
| @@ -53,6 +53,7 @@ WebURLError& WebURLError::operator=(const ResourceError& error)
|
| reason = error.errorCode();
|
| unreachableURL = KURL(ParsedURLString, error.failingURL());
|
| isCancellation = error.isCancellation();
|
| + staleCopyInCache = error.staleCopyInCache();
|
| localizedDescription = error.localizedDescription();
|
| }
|
| return *this;
|
| @@ -65,6 +66,7 @@ WebURLError::operator ResourceError() const
|
| CString spec = unreachableURL.spec();
|
| ResourceError resourceError = ResourceError(domain, reason, String::fromUTF8(spec.data(), spec.length()), localizedDescription);
|
| resourceError.setIsCancellation(isCancellation);
|
| + resourceError.setStaleCopyInCache(staleCopyInCache);
|
| return resourceError;
|
| }
|
|
|
|
|