Index: third_party/WebKit/Source/platform/graphics/PaintRecordPattern.h |
diff --git a/third_party/WebKit/Source/platform/graphics/PaintRecordPattern.h b/third_party/WebKit/Source/platform/graphics/PaintRecordPattern.h |
index fe3d95d6e413f76123ee3aba7272c5b4141db430..d987801d33b0663578d3dca04ae13e9e862b8049 100644 |
--- a/third_party/WebKit/Source/platform/graphics/PaintRecordPattern.h |
+++ b/third_party/WebKit/Source/platform/graphics/PaintRecordPattern.h |
@@ -5,7 +5,6 @@ |
#ifndef PaintRecordPattern_h |
#define PaintRecordPattern_h |
-#include "platform/geometry/FloatRect.h" |
#include "platform/graphics/Pattern.h" |
#include "third_party/skia/include/core/SkRefCnt.h" |
@@ -14,9 +13,7 @@ namespace blink { |
// TODO(enne): rename this |
class PLATFORM_EXPORT PaintRecordPattern final : public Pattern { |
public: |
- static PassRefPtr<PaintRecordPattern> Create(sk_sp<PaintRecord>, |
- const FloatRect& record_bounds, |
- RepeatMode); |
+ static PassRefPtr<PaintRecordPattern> Create(sk_sp<PaintRecord>, RepeatMode); |
~PaintRecordPattern() override; |
@@ -24,12 +21,9 @@ class PLATFORM_EXPORT PaintRecordPattern final : public Pattern { |
sk_sp<PaintShader> CreateShader(const SkMatrix&) override; |
private: |
- PaintRecordPattern(sk_sp<PaintRecord>, |
- const FloatRect& record_bounds, |
- RepeatMode); |
+ PaintRecordPattern(sk_sp<PaintRecord>, RepeatMode); |
sk_sp<PaintRecord> tile_record_; |
- FloatRect tile_record_bounds_; |
}; |
} // namespace blink |