When navigating, discard decoded image data that is only live due to page cache.
[WebKit-https.git] / Source / WebCore / rendering / RenderObject.h
index e3a7d7f..8474cbb 100644 (file)
@@ -844,6 +844,8 @@ private:
     void setNeedsLayoutIsForbidden(bool flag) { m_setNeedsLayoutForbidden = flag; }
 #endif
 
+    bool inPageCache() const final { return document().inPageCache(); }
+
     void addAbsoluteRectForLayer(LayoutRect& result);
     void setLayerNeedsFullRepaint();
     void setLayerNeedsFullRepaintForPositionedMovementLayout();