Index: third_party/WebKit/Source/core/frame/FrameView.h |
diff --git a/third_party/WebKit/Source/core/frame/FrameView.h b/third_party/WebKit/Source/core/frame/FrameView.h |
index ad826b8bc2befd6cba9d011e0bf1e532da114ec1..6c488991e5cfb6a76d7575095f40c3b14c94fb99 100644 |
--- a/third_party/WebKit/Source/core/frame/FrameView.h |
+++ b/third_party/WebKit/Source/core/frame/FrameView.h |
@@ -33,6 +33,7 @@ |
#include "core/layout/LayoutAnalyzer.h" |
#include "core/paint/PaintInvalidationCapableScrollableArea.h" |
#include "core/paint/PaintPhase.h" |
+#include "platform/MemoryPurgeController.h" |
#include "platform/RuntimeEnabledFeatures.h" |
#include "platform/Widget.h" |
#include "platform/geometry/IntRect.h" |
@@ -590,6 +591,8 @@ public: |
// Viewport size that should be used for viewport units (i.e. 'vh'/'vw'). |
FloatSize viewportSizeForViewportUnits() const; |
+ void purgeMemory(DeviceKind); |
+ |
protected: |
// Scroll the content via the compositor. |
bool scrollContentsFastPath(const IntSize& scrollDelta); |