Chromium Code Reviews| Index: Source/platform/graphics/filters/FEGaussianBlur.h |
| diff --git a/Source/platform/graphics/filters/FEGaussianBlur.h b/Source/platform/graphics/filters/FEGaussianBlur.h |
| index 05fed149a8b5b52252e6fce2192034e83a3af734..f6b0a13f0dd3f6009e3e1459e1d6ea910aa2b77e 100644 |
| --- a/Source/platform/graphics/filters/FEGaussianBlur.h |
| +++ b/Source/platform/graphics/filters/FEGaussianBlur.h |
| @@ -40,8 +40,8 @@ public: |
| virtual FloatRect mapRect(const FloatRect&, bool forward = true) OVERRIDE FINAL; |
| virtual FloatRect determineAbsolutePaintRect(const FloatRect& requestedRect) OVERRIDE; |
| - static void calculateKernelSize(Filter*, unsigned& kernelSizeX, unsigned& kernelSizeY, float stdX, float stdY); |
| - static void calculateUnscaledKernelSize(unsigned& kernelSizeX, unsigned& kernelSizeY, float stdX, float stdY); |
| + static IntSize calculateKernelSize(Filter*, float stdX, float stdY); |
|
Stephen White
2014/03/26 00:22:21
Nit: it seems inconsistent for calculateUnscaledKe
|
| + static IntSize calculateUnscaledKernelSize(FloatPoint std); |
|
pdr.
2014/03/26 00:00:13
Can these functions take const references instead?
Savago
2014/03/26 00:12:24
Indeed, they can. I will update the patch.
Stephen White
2014/03/26 00:22:21
This should probably be const FloatPoint&.
|
| virtual TextStream& externalRepresentation(TextStream&, int indention) const OVERRIDE; |