Index: Source/platform/graphics/paint/ScrollDisplayItem.h |
diff --git a/Source/platform/graphics/paint/ScrollDisplayItem.h b/Source/platform/graphics/paint/ScrollDisplayItem.h |
index 649c0a8340774406aefa287dbc4ee060c27893ad..489c10618c6cbc2e11f2fc1b03c69d0faf1bc16e 100644 |
--- a/Source/platform/graphics/paint/ScrollDisplayItem.h |
+++ b/Source/platform/graphics/paint/ScrollDisplayItem.h |
@@ -24,11 +24,14 @@ public: |
void replay(GraphicsContext&) override; |
void appendToWebDisplayItemList(WebDisplayItemList*) const override; |
+ const IntSize& currentOffset() const { return m_currentOffset; } |
+ |
private: |
#ifndef NDEBUG |
void dumpPropertiesAsDebugString(WTF::StringBuilder&) const final; |
#endif |
+private: |
const IntSize m_currentOffset; |
}; |