| Index: Source/core/paint/ClipRecorder.h
|
| diff --git a/Source/core/paint/ClipRecorder.h b/Source/core/paint/ClipRecorder.h
|
| index 3dfe3725f506b6f492f5944ba53aebd018e874cc..d6790f679a99c84f5eca264ba812eb3340b4ae67 100644
|
| --- a/Source/core/paint/ClipRecorder.h
|
| +++ b/Source/core/paint/ClipRecorder.h
|
| @@ -5,42 +5,15 @@
|
| #ifndef ClipRecorder_h
|
| #define ClipRecorder_h
|
|
|
| -#include "core/paint/ViewDisplayList.h"
|
| -#include "core/rendering/PaintPhase.h"
|
| -#include "platform/geometry/RoundedRect.h"
|
| -#include "wtf/Vector.h"
|
| +#include "platform/graphics/paint/DisplayItem.h"
|
|
|
| namespace blink {
|
|
|
| +class ClipDisplayItem;
|
| class ClipRect;
|
| class GraphicsContext;
|
| -class RenderObject;
|
| class RenderLayer;
|
| -
|
| -class ClipDisplayItem : public DisplayItem {
|
| -public:
|
| - ClipDisplayItem(RenderObject* renderer, RenderLayer*, Type type, IntRect clipRect)
|
| - : DisplayItem(renderer, type), m_clipRect(clipRect) { }
|
| -
|
| - Vector<RoundedRect>& roundedRectClips() { return m_roundedRectClips; }
|
| -
|
| -private:
|
| - virtual void replay(GraphicsContext*) override;
|
| -
|
| - IntRect m_clipRect;
|
| - Vector<RoundedRect> m_roundedRectClips;
|
| -#ifndef NDEBUG
|
| - virtual WTF::String asDebugString() const override;
|
| -#endif
|
| -};
|
| -
|
| -class EndClipDisplayItem : public DisplayItem {
|
| -public:
|
| - EndClipDisplayItem() : DisplayItem(0, EndClip) { }
|
| -
|
| -private:
|
| - virtual void replay(GraphicsContext*) override;
|
| -};
|
| +class RoundedRect;
|
|
|
| class ClipRecorder {
|
| public:
|
| @@ -57,4 +30,4 @@ private:
|
|
|
| } // namespace blink
|
|
|
| -#endif // ViewDisplayList_h
|
| +#endif // ClipRecorder_h
|
|
|