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

Unified Diff: third_party/WebKit/Source/core/paint/SVGFilterPainter.h

Issue 2851753002: Refactor FilterData::state_ handling in SVGFilterPainter (Closed)
Patch Set: Created 3 years, 8 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/paint/SVGFilterPainter.h
diff --git a/third_party/WebKit/Source/core/paint/SVGFilterPainter.h b/third_party/WebKit/Source/core/paint/SVGFilterPainter.h
index 3770f2ff8ac6b2c2c3a0e2d3f78c5c962f3e18a6..d0274a4c497b1cdda86e9afc52cb6781357a8098 100644
--- a/third_party/WebKit/Source/core/paint/SVGFilterPainter.h
+++ b/third_party/WebKit/Source/core/paint/SVGFilterPainter.h
@@ -12,7 +12,6 @@
namespace blink {
-class FilterData;
class LayoutObject;
class LayoutSVGResourceFilter;
@@ -24,8 +23,8 @@ class SVGFilterRecordingContext {
explicit SVGFilterRecordingContext(GraphicsContext& initial_context)
: initial_context_(initial_context) {}
- GraphicsContext* BeginContent(FilterData*);
- void EndContent(FilterData*);
+ GraphicsContext* BeginContent();
+ sk_sp<PaintRecord> EndContent(const FloatRect&);
GraphicsContext& PaintingContext() const { return initial_context_; }

Powered by Google App Engine
This is Rietveld 408576698