From e80eb928ba0248a5a5dea6e1f0005aa08ecf8740 Mon Sep 17 00:00:00 2001 From: robertphillips Date: Thu, 17 Dec 2015 11:33:12 -0800 Subject: 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 --- tests/AAClipTest.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'tests/AAClipTest.cpp') 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()); -- cgit v1.2.3