When navigating, discard decoded image data that is only live due to page cache.
[WebKit-https.git] / Source / WebCore / loader / ImageLoader.cpp
index 0f2b7d5..a929775 100644 (file)
@@ -472,4 +472,9 @@ inline void ImageLoader::clearFailedLoadURL()
     m_failedLoadURL = AtomicString();
 }
 
+bool ImageLoader::inPageCache() const
+{
+    return m_element.document().inPageCache();
+}
+
 }