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

Unified Diff: third_party/WebKit/Source/platform/graphics/filters/FEColorMatrix.h

Issue 1387573003: Pass SkiaImageFilterBuilder& to FilterEffect::createImageFilter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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/filters/FEColorMatrix.h
diff --git a/third_party/WebKit/Source/platform/graphics/filters/FEColorMatrix.h b/third_party/WebKit/Source/platform/graphics/filters/FEColorMatrix.h
index e072e9896bdb04bcf7340268164b11bded0f3289..fcd338ec3a6e94be5c8da4a103b3c2b2f1fe1d2a 100644
--- a/third_party/WebKit/Source/platform/graphics/filters/FEColorMatrix.h
+++ b/third_party/WebKit/Source/platform/graphics/filters/FEColorMatrix.h
@@ -46,8 +46,6 @@ public:
const Vector<float>& values() const;
bool setValues(const Vector<float>&);
- PassRefPtr<SkImageFilter> createImageFilter(SkiaImageFilterBuilder*) override;
-
TextStream& externalRepresentation(TextStream&, int indention) const override;
static inline void calculateSaturateComponents(float* components, float value);
@@ -56,6 +54,8 @@ public:
private:
FEColorMatrix(Filter*, ColorMatrixType, const Vector<float>&);
+ PassRefPtr<SkImageFilter> createImageFilter(SkiaImageFilterBuilder&) override;
+
bool affectsTransparentPixels() override;
ColorMatrixType m_type;

Powered by Google App Engine
This is Rietveld 408576698