From 01015fbea1369b53b30d0b9e6fdc3b9a1b6f110c Mon Sep 17 00:00:00 2001 From: Brian Osman Date: Mon, 3 Oct 2016 11:06:45 -0400 Subject: [PATCH] Fix alpha threshold GM to test with and without crop rect BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2864 Change-Id: I09f24303b2a693a384fb7399c2287ab476f16319 Reviewed-on: https://skia-review.googlesource.com/2864 Commit-Queue: Robert Phillips Reviewed-by: Robert Phillips --- gm/imagealphathreshold.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gm/imagealphathreshold.cpp b/gm/imagealphathreshold.cpp index 2b65202..97524ce 100644 --- a/gm/imagealphathreshold.cpp +++ b/gm/imagealphathreshold.cpp @@ -45,7 +45,7 @@ namespace skiagm { class ImageAlphaThresholdGM : public GM { public: - ImageAlphaThresholdGM(bool useCropRect) : fUseCropRect(true) { + ImageAlphaThresholdGM(bool useCropRect) : fUseCropRect(useCropRect) { this->setBGColor(0xFFFFFFFF); } -- 2.7.4