Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(598)

Unified Diff: third_party/WebKit/Source/core/paint/ScrollRecorder.h

Issue 2713673005: client-goodbye
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
};
« no previous file with comments | « third_party/WebKit/Source/core/paint/SVGShapePainter.cpp ('k') | third_party/WebKit/Source/core/paint/ScrollRecorder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698