| Index: Source/platform/graphics/paint/ClipDisplayItem.h
|
| diff --git a/Source/platform/graphics/paint/ClipDisplayItem.h b/Source/platform/graphics/paint/ClipDisplayItem.h
|
| index 9ef61c787c56c642b1a56d6e781764a7acf9842e..0c921a4377d7d6a2c9e057c0119cee308b4c669f 100644
|
| --- a/Source/platform/graphics/paint/ClipDisplayItem.h
|
| +++ b/Source/platform/graphics/paint/ClipDisplayItem.h
|
| @@ -7,6 +7,7 @@
|
|
|
| #include "SkRegion.h"
|
| #include "platform/PlatformExport.h"
|
| +#include "platform/geometry/FloatRoundedRect.h"
|
| #include "platform/geometry/IntRect.h"
|
| #include "platform/graphics/paint/DisplayItem.h"
|
| #include "wtf/PassOwnPtr.h"
|
| @@ -14,8 +15,6 @@
|
|
|
| namespace blink {
|
|
|
| -class RoundedRect;
|
| -
|
| class PLATFORM_EXPORT ClipDisplayItem : public DisplayItem {
|
| public:
|
| static PassOwnPtr<ClipDisplayItem> create(DisplayItemClient client, Type type, const IntRect& clipRect, SkRegion::Op operation = SkRegion::kIntersect_Op)
|
| @@ -26,7 +25,7 @@ public:
|
| virtual void replay(GraphicsContext*) override;
|
| virtual void appendToWebDisplayItemList(WebDisplayItemList*) const override;
|
|
|
| - Vector<RoundedRect>& roundedRectClips() { return m_roundedRectClips; }
|
| + Vector<FloatRoundedRect>& roundedRectClips() { return m_roundedRectClips; }
|
|
|
| protected:
|
| ClipDisplayItem(DisplayItemClient client, Type type, const IntRect& clipRect, SkRegion::Op operation)
|
| @@ -38,7 +37,7 @@ private:
|
| virtual void dumpPropertiesAsDebugString(WTF::StringBuilder&) const override;
|
| #endif
|
| IntRect m_clipRect;
|
| - Vector<RoundedRect> m_roundedRectClips;
|
| + Vector<FloatRoundedRect> m_roundedRectClips;
|
| SkRegion::Op m_operation;
|
| };
|
|
|
|
|