| Index: Source/core/paint/DrawingRecorder.h
|
| diff --git a/Source/core/paint/DrawingRecorder.h b/Source/core/paint/DrawingRecorder.h
|
| index 4f411b86921bcf42e63d44e710a2e5835e8a6def..3afd663c3d876c4c547dd41229346e26e43040c2 100644
|
| --- a/Source/core/paint/DrawingRecorder.h
|
| +++ b/Source/core/paint/DrawingRecorder.h
|
| @@ -5,29 +5,13 @@
|
| #ifndef DrawingRecorder_h
|
| #define DrawingRecorder_h
|
|
|
| -#include "core/paint/ViewDisplayList.h"
|
| -#include "platform/graphics/DisplayList.h"
|
| +#include "core/rendering/PaintPhase.h"
|
| +#include "platform/geometry/FloatRect.h"
|
|
|
| namespace blink {
|
|
|
| -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 GraphicsContext;
|
| +class RenderObject;
|
|
|
| class DrawingRecorder {
|
| public:
|
|
|