Potential fix for flaky TSAN
authormsarett <msarett@google.com>
Wed, 22 Jun 2016 22:29:00 +0000 (15:29 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 22 Jun 2016 22:29:00 +0000 (15:29 -0700)
TBR=mtklein@google.com
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2084243003

Review-Url: https://codereview.chromium.org/2084243003

tests/ColorSpaceXformTest.cpp

index b5df1e1..3b4a0bd 100644 (file)
@@ -40,7 +40,7 @@ static void test_xform(skiatest::Reporter* r, const sk_sp<SkGammas>& gammas) {
     uint32_t dstPixels[width];
 
     // Identity matrix
-    SkMatrix44 srcToDst = SkMatrix44::I();
+    SkMatrix44 srcToDst(SkMatrix44::kIdentity_Constructor);
 
     // Create and perform xform
     std::unique_ptr<SkColorSpaceXform> xform =