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

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGResourcePattern.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/core/layout/svg/LayoutSVGResourcePattern.h
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourcePattern.h b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourcePattern.h
index c89b299d02b8b090892ef8aeeb5b5feeb8e59fd1..36ca8d206512b61ae9f825990789841af08f034f 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourcePattern.h
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourcePattern.h
@@ -32,6 +32,7 @@
namespace blink {
class AffineTransform;
+class FloatRect;
class SVGPatternElement;
struct PatternData;
@@ -52,7 +53,7 @@ class LayoutSVGResourcePattern final : public LayoutSVGResourcePaintServer {
private:
std::unique_ptr<PatternData> BuildPatternData(const LayoutObject&);
- sk_sp<PaintRecord> AsPaintRecord(const FloatSize&,
+ sk_sp<PaintRecord> AsPaintRecord(const FloatRect& tile,
const AffineTransform&) const;
PatternData* PatternForLayoutObject(const LayoutObject&);

Powered by Google App Engine
This is Rietveld 408576698