Index: Source/platform/network/ResourceError.cpp |
diff --git a/Source/platform/network/ResourceError.cpp b/Source/platform/network/ResourceError.cpp |
index e0368db38aba2bba597721298e204983d2760bbf..5e5efc37d87b7c77ead456237f7cf6e2ca786117 100644 |
--- a/Source/platform/network/ResourceError.cpp |
+++ b/Source/platform/network/ResourceError.cpp |
@@ -51,6 +51,7 @@ ResourceError ResourceError::copy() const |
errorCopy.m_isNull = m_isNull; |
errorCopy.m_isCancellation = m_isCancellation; |
errorCopy.m_isTimeout = m_isTimeout; |
+ errorCopy.m_staleCopyInCache = m_staleCopyInCache; |
return errorCopy; |
} |
@@ -80,6 +81,9 @@ bool ResourceError::compare(const ResourceError& a, const ResourceError& b) |
if (a.isTimeout() != b.isTimeout()) |
return false; |
+ if (a.staleCopyInCache() != b.staleCopyInCache()) |
+ return false; |
+ |
return true; |
} |