Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Bug 845125 - Fix impromper use of CheckedInt. r=jmuizelaar, a=bajaj

  • Loading branch information...
commit 4e258552cea2f5c333baaf2449363d60e1f8a726 1 parent 0dde6e2
@mozilla-milan mozilla-milan authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  gfx/2d/Blur.cpp
View
2  gfx/2d/Blur.cpp
@@ -401,7 +401,7 @@ AlphaBoxBlur::AlphaBoxBlur(const Rect& aRect,
mStride(aStride),
mSurfaceAllocationSize(-1)
{
- CheckedInt<int32_t> minDataSize = CheckedInt<int32_t>(aRect.width*aRect.height);
+ CheckedInt<int32_t> minDataSize = CheckedInt<int32_t>(aRect.width)*aRect.height;
if (minDataSize.isValid()) {
mSurfaceAllocationSize = minDataSize.value();
}
Please sign in to comment.
Something went wrong with that request. Please try again.