diff options
Diffstat (limited to 'chromium/third_party/WebKit/Source/platform/exported/WebURLError.cpp')
-rw-r--r-- | chromium/third_party/WebKit/Source/platform/exported/WebURLError.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chromium/third_party/WebKit/Source/platform/exported/WebURLError.cpp b/chromium/third_party/WebKit/Source/platform/exported/WebURLError.cpp index 98583168388..ca7ac16abe8 100644 --- a/chromium/third_party/WebKit/Source/platform/exported/WebURLError.cpp +++ b/chromium/third_party/WebKit/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; } |