Index: Source/platform/graphics/filters/FEGaussianBlur.h |
diff --git a/Source/platform/graphics/filters/FEGaussianBlur.h b/Source/platform/graphics/filters/FEGaussianBlur.h |
index 015450cf8d8375169c8fdae7b1188aa70ad8d340..c10d220d94154b9a90c59a401d3a39a515841549 100644 |
--- a/Source/platform/graphics/filters/FEGaussianBlur.h |
+++ b/Source/platform/graphics/filters/FEGaussianBlur.h |
@@ -61,51 +61,16 @@ private: |
unsigned kernelSizeY; |
}; |
- static void platformApplyWorker(PlatformApplyParameters*); |
- |
FEGaussianBlur(Filter*, float, float); |
virtual void applySoftware() OVERRIDE; |
- virtual bool applySkia() OVERRIDE; |
- |
- static inline void kernelPosition(int boxBlur, unsigned& std, int& dLeft, int& dRight); |
- inline void platformApply(Uint8ClampedArray* srcPixelArray, Uint8ClampedArray* tmpPixelArray, unsigned kernelSizeX, unsigned kernelSizeY, IntSize& paintSize); |
- inline void platformApplyGeneric(Uint8ClampedArray* srcPixelArray, Uint8ClampedArray* tmpPixelArray, unsigned kernelSizeX, unsigned kernelSizeY, IntSize& paintSize); |
virtual PassRefPtr<SkImageFilter> createImageFilter(SkiaImageFilterBuilder*) OVERRIDE; |
float m_stdX; |
float m_stdY; |
}; |
-inline void FEGaussianBlur::kernelPosition(int boxBlur, unsigned& std, int& dLeft, int& dRight) |
-{ |
- // check http://www.w3.org/TR/SVG/filters.html#feGaussianBlurElement for details |
- switch (boxBlur) { |
- case 0: |
- if (!(std % 2)) { |
- dLeft = std / 2 - 1; |
- dRight = std - dLeft; |
- } else { |
- dLeft = std / 2; |
- dRight = std - dLeft; |
- } |
- break; |
- case 1: |
- if (!(std % 2)) { |
- dLeft++; |
- dRight--; |
- } |
- break; |
- case 2: |
- if (!(std % 2)) { |
- dRight++; |
- std++; |
- } |
- break; |
- } |
-} |
- |
} // namespace WebCore |
#endif // FEGaussianBlur_h |