Index: third_party/WebKit/Source/core/paint/ScrollRecorder.h |
diff --git a/third_party/WebKit/Source/core/paint/ScrollRecorder.h b/third_party/WebKit/Source/core/paint/ScrollRecorder.h |
index c7a70b74b2e398cb9bbda0df670d19ab7d0a7618..e616f56f96562642cf62297b0e8ee68572b28a2e 100644 |
--- a/third_party/WebKit/Source/core/paint/ScrollRecorder.h |
+++ b/third_party/WebKit/Source/core/paint/ScrollRecorder.h |
@@ -9,6 +9,7 @@ |
#include "core/paint/PaintPhase.h" |
#include "platform/geometry/IntSize.h" |
#include "platform/graphics/paint/DisplayItem.h" |
+#include "platform/graphics/paint/PaintStash.h" |
#include "wtf/Allocator.h" |
namespace blink { |
@@ -22,17 +23,21 @@ class CORE_EXPORT ScrollRecorder { |
public: |
ScrollRecorder(GraphicsContext&, |
- const DisplayItemClient&, |
DisplayItem::Type, |
- const IntSize& currentOffset); |
+ const IntSize& currentOffset, |
+ const LayoutRect& visualRect, |
+ const WTF::String& debugName, |
+ bool paintedOutputOfObjectHasNoEffectRegardlessOfSize); |
ScrollRecorder(GraphicsContext&, |
- const DisplayItemClient&, |
PaintPhase, |
- const IntSize& currentOffset); |
+ const IntSize& currentOffset, |
+ const LayoutRect& visualRect, |
+ const WTF::String& debugName, |
+ bool paintedOutputOfObjectHasNoEffectRegardlessOfSize); |
~ScrollRecorder(); |
private: |
- const DisplayItemClient& m_client; |
+ PaintStash m_client; |
DisplayItem::Type m_beginItemType; |
GraphicsContext& m_context; |
}; |