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

Unified Diff: Source/platform/graphics/filters/SkiaImageFilterBuilder.h

Issue 1108823002: Remove SourceGraphic reference from SkiaImageFilterBuilder (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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
« no previous file with comments | « Source/core/paint/SVGFilterPainter.cpp ('k') | Source/platform/graphics/filters/SkiaImageFilterBuilder.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/filters/SkiaImageFilterBuilder.h
diff --git a/Source/platform/graphics/filters/SkiaImageFilterBuilder.h b/Source/platform/graphics/filters/SkiaImageFilterBuilder.h
index 223cbb38bdd8a2798489a2052c16f5cce279e3c6..b870f23f1cff12ffe9fed4082a400558c9fbd26f 100644
--- a/Source/platform/graphics/filters/SkiaImageFilterBuilder.h
+++ b/Source/platform/graphics/filters/SkiaImageFilterBuilder.h
@@ -39,13 +39,11 @@ class AffineTransform;
class FilterEffect;
class FilterOperations;
class GraphicsContext;
-class SourceGraphic;
class PLATFORM_EXPORT SkiaImageFilterBuilder {
STACK_ALLOCATED();
public:
- SkiaImageFilterBuilder();
- explicit SkiaImageFilterBuilder(GraphicsContext*);
+ explicit SkiaImageFilterBuilder(GraphicsContext* = nullptr);
~SkiaImageFilterBuilder();
PassRefPtr<SkImageFilter> build(FilterEffect*, ColorSpace, bool requiresPMColorValidation = true);
@@ -58,15 +56,11 @@ public:
void setCropOffset(const FloatSize& cropOffset) { m_cropOffset = cropOffset; };
FloatSize cropOffset() { return m_cropOffset; }
- void setSourceGraphic(SourceGraphic* sourceGraphic) { m_sourceGraphic = sourceGraphic; }
- SourceGraphic* sourceGraphic() { return m_sourceGraphic; }
-
GraphicsContext* context() { return m_context; }
private:
FloatSize m_cropOffset;
GraphicsContext* m_context;
- RawPtrWillBeMember<SourceGraphic> m_sourceGraphic;
};
} // namespace blink
« no previous file with comments | « Source/core/paint/SVGFilterPainter.cpp ('k') | Source/platform/graphics/filters/SkiaImageFilterBuilder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698