Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1429)

Unified Diff: third_party/WebKit/Source/platform/graphics/PaintRecordPattern.h

Issue 2894843002: Revert of Remove cullRect() from PaintOpBuffer. (Closed)
Patch Set: rebase TestExpectations Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698