| Index: third_party/WebKit/Source/platform/graphics/paint/ClipPathDisplayItem.h
|
| diff --git a/third_party/WebKit/Source/platform/graphics/paint/ClipPathDisplayItem.h b/third_party/WebKit/Source/platform/graphics/paint/ClipPathDisplayItem.h
|
| index 721b1ee5b7f6fc467dbb2221b10ccb9e37681398..f679bb31fa90724425f7b16fb30f7d5540087b74 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/paint/ClipPathDisplayItem.h
|
| +++ b/third_party/WebKit/Source/platform/graphics/paint/ClipPathDisplayItem.h
|
| @@ -15,7 +15,7 @@ namespace blink {
|
| class PLATFORM_EXPORT BeginClipPathDisplayItem final : public PairedBeginDisplayItem {
|
| public:
|
| BeginClipPathDisplayItem(const DisplayItemClient& client, const Path& clipPath)
|
| - : PairedBeginDisplayItem(client, BeginClipPath, sizeof(*this))
|
| + : PairedBeginDisplayItem(client, kBeginClipPath, sizeof(*this))
|
| , m_clipPath(clipPath.getSkPath()) { }
|
|
|
| void replay(GraphicsContext&) const override;
|
| @@ -40,14 +40,14 @@ private:
|
| class PLATFORM_EXPORT EndClipPathDisplayItem final : public PairedEndDisplayItem {
|
| public:
|
| EndClipPathDisplayItem(const DisplayItemClient& client)
|
| - : PairedEndDisplayItem(client, EndClipPath, sizeof(*this)) { }
|
| + : PairedEndDisplayItem(client, kEndClipPath, sizeof(*this)) { }
|
|
|
| void replay(GraphicsContext&) const override;
|
| void appendToWebDisplayItemList(const IntRect&, WebDisplayItemList*) const override;
|
|
|
| private:
|
| #if ENABLE(ASSERT)
|
| - bool isEndAndPairedWith(DisplayItem::Type otherType) const final { return otherType == BeginClipPath; }
|
| + bool isEndAndPairedWith(DisplayItem::Type otherType) const final { return otherType == kBeginClipPath; }
|
| #endif
|
| };
|
|
|
|
|