Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(95)

Unified Diff: tests/ColorSpaceTest.cpp

Issue 2277463002: Make singleton SkColorSpaces thread safe (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Use getType() to force compute of type mask Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/core/SkColorSpace.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/ColorSpaceTest.cpp
diff --git a/tests/ColorSpaceTest.cpp b/tests/ColorSpaceTest.cpp
index 66860da590d12dd4838ce0a714514b3cb18f8d50..a2a14a5a585d0270326b3827e9c88ceab96784b9 100644
--- a/tests/ColorSpaceTest.cpp
+++ b/tests/ColorSpaceTest.cpp
@@ -24,7 +24,7 @@ static void test_space(skiatest::Reporter* r, SkColorSpace* space,
REPORTER_ASSERT(r, expectedGamma == space->gammaNamed());
- SkMatrix44 mat = space->xyz();
+ const SkMatrix44& mat = space->xyz();
const float src[] = {
1, 0, 0, 1,
0, 1, 0, 1,
« no previous file with comments | « src/core/SkColorSpace.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698