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

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

Issue 211513003: Returning IntSize to store calculated kernel size values (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove const float from Filter.h Created 6 years, 9 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: Source/platform/graphics/filters/FEGaussianBlur.h
diff --git a/Source/platform/graphics/filters/FEGaussianBlur.h b/Source/platform/graphics/filters/FEGaussianBlur.h
index 05fed149a8b5b52252e6fce2192034e83a3af734..015450cf8d8375169c8fdae7b1188aa70ad8d340 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*, const FloatPoint& std);
+ static IntSize calculateUnscaledKernelSize(const FloatPoint& std);
virtual TextStream& externalRepresentation(TextStream&, int indention) const OVERRIDE;
« no previous file with comments | « Source/platform/graphics/filters/FEDropShadow.cpp ('k') | Source/platform/graphics/filters/FEGaussianBlur.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698