diff options
author | robertphillips <robertphillips@google.com> | 2015-12-17 11:33:12 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-12-17 11:33:12 -0800 |
commit | e80eb928ba0248a5a5dea6e1f0005aa08ecf8740 (patch) | |
tree | 87bf6f73175a6a404308eb36b18337116a6396aa /tests/AAClipTest.cpp | |
parent | 1250944aaa9251c08eda3a37b21f15106903f42d (diff) |
Add default ctor to SkMask
The minimal fix here seems to be handling BoxBlur's return value in SkBlurMaskFilter.cpp::GrRRectBlurEffect::Create. We seem to do enough special handling of the fImage field though that always initialializing it may not be a bad idea.
BUG=570232
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1539553002
Review URL: https://codereview.chromium.org/1539553002
Diffstat (limited to 'tests/AAClipTest.cpp')
-rw-r--r-- | tests/AAClipTest.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/AAClipTest.cpp b/tests/AAClipTest.cpp index 42fc7e7f96..1ee6358a6e 100644 --- a/tests/AAClipTest.cpp +++ b/tests/AAClipTest.cpp @@ -228,7 +228,6 @@ static void test_empty(skiatest::Reporter* reporter) { REPORTER_ASSERT(reporter, clip1 == clip0); SkMask mask; - mask.fImage = nullptr; clip0.copyToMask(&mask); REPORTER_ASSERT(reporter, nullptr == mask.fImage); REPORTER_ASSERT(reporter, mask.fBounds.isEmpty()); |