aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorGravatar senorblanco <senorblanco@chromium.org>2015-07-16 15:19:11 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-07-16 15:19:11 -0700
commited7cf273226ca5818a9d58b0f9183d665bb1ff58 (patch)
tree769bacf9d196a8ac32b2e633064426407746de0d /tests
parent47d280d3b0f3e271d29ffcffa061b5ad54f08b7e (diff)
Now that the SkImageFilter::CropRect crop edges refer to
width & height, name them appropriately. BUG=240827 Review URL: https://codereview.chromium.org/1234873005
Diffstat (limited to 'tests')
-rw-r--r--tests/ImageFilterTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ImageFilterTest.cpp b/tests/ImageFilterTest.cpp
index a5ffb1b226..d822212ac6 100644
--- a/tests/ImageFilterTest.cpp
+++ b/tests/ImageFilterTest.cpp
@@ -1147,7 +1147,7 @@ DEF_TEST(PartialCropRect, reporter) {
SkImageFilter::Proxy proxy(&device);
SkImageFilter::CropRect cropRect(SkRect::MakeXYWH(100, 0, 20, 30),
- SkImageFilter::CropRect::kHasRight_CropEdge | SkImageFilter::CropRect::kHasBottom_CropEdge);
+ SkImageFilter::CropRect::kHasWidth_CropEdge | SkImageFilter::CropRect::kHasHeight_CropEdge);
SkAutoTUnref<SkImageFilter> filter(make_grayscale(NULL, &cropRect));
SkBitmap result;
SkIPoint offset;