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

Unified Diff: third_party/WebKit/Source/platform/graphics/filters/FEGaussianBlur.cpp

Issue 2389703004: Rewrap comments to 80 columns in Source/platform/graphics/filters/. (Closed)
Patch Set: Created 4 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/FEGaussianBlur.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/filters/FEGaussianBlur.cpp b/third_party/WebKit/Source/platform/graphics/filters/FEGaussianBlur.cpp
index 1ca0e0527444bd6d4aef84cd297639bb57156626..1527161d5a95be30a359dca05bd8921534a50ecf 100644
--- a/third_party/WebKit/Source/platform/graphics/filters/FEGaussianBlur.cpp
+++ b/third_party/WebKit/Source/platform/graphics/filters/FEGaussianBlur.cpp
@@ -48,8 +48,9 @@ IntSize FEGaussianBlur::calculateUnscaledKernelSize(const FloatPoint& std) {
ASSERT(std.x() >= 0 && std.y() >= 0);
IntSize kernelSize;
- // Limit the kernel size to 1000. A bigger radius won't make a big difference for the result image but
- // inflates the absolute paint rect to much. This is compatible with Firefox' behavior.
+ // Limit the kernel size to 1000. A bigger radius won't make a big difference
+ // for the result image but inflates the absolute paint rect too much. This is
+ // compatible with Firefox' behavior.
if (std.x()) {
int size = std::max<unsigned>(
2,
@@ -78,7 +79,8 @@ FloatRect FEGaussianBlur::mapEffect(const FloatRect& rect) const {
IntSize kernelSize =
calculateKernelSize(getFilter(), FloatPoint(m_stdX, m_stdY));
- // We take the half kernel size and multiply it with three, because we run box blur three times.
+ // We take the half kernel size and multiply it by three, because we run box
+ // blur three times.
FloatRect result = rect;
result.inflateX(3.0f * kernelSize.width() * 0.5f);
result.inflateY(3.0f * kernelSize.height() * 0.5f);

Powered by Google App Engine
This is Rietveld 408576698