| Index: Source/core/paint/DrawingRecorder.h
|
| diff --git a/Source/core/paint/DrawingRecorder.h b/Source/core/paint/DrawingRecorder.h
|
| index 3afd663c3d876c4c547dd41229346e26e43040c2..4f411b86921bcf42e63d44e710a2e5835e8a6def 100644
|
| --- a/Source/core/paint/DrawingRecorder.h
|
| +++ b/Source/core/paint/DrawingRecorder.h
|
| @@ -5,13 +5,29 @@
|
| #ifndef DrawingRecorder_h
|
| #define DrawingRecorder_h
|
|
|
| -#include "core/rendering/PaintPhase.h"
|
| -#include "platform/geometry/FloatRect.h"
|
| +#include "core/paint/ViewDisplayList.h"
|
| +#include "platform/graphics/DisplayList.h"
|
|
|
| namespace blink {
|
|
|
| -class GraphicsContext;
|
| -class RenderObject;
|
| +class DrawingDisplayItem : public DisplayItem {
|
| +public:
|
| + DrawingDisplayItem(PassRefPtr<SkPicture> picture, const FloatPoint& location, PaintPhase phase, const RenderObject* renderer)
|
| + : DisplayItem(renderer, (Type)phase), m_picture(picture), m_location(location) { }
|
| +
|
| + PassRefPtr<SkPicture> picture() const { return m_picture; }
|
| + const FloatPoint& location() const { return m_location; }
|
| +
|
| +private:
|
| + virtual void replay(GraphicsContext*);
|
| +
|
| + RefPtr<SkPicture> m_picture;
|
| + const FloatPoint m_location;
|
| +#ifndef NDEBUG
|
| + virtual WTF::String asDebugString() const override;
|
| +#endif
|
| +};
|
| +
|
|
|
| class DrawingRecorder {
|
| public:
|
|
|