Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / platform / network / ResourceError.cpp
index e0368db..5e5efc3 100644 (file)
@@ -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;
 }