aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/FontMgrTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/FontMgrTest.cpp')
-rw-r--r--tests/FontMgrTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/FontMgrTest.cpp b/tests/FontMgrTest.cpp
index c8c8b94cff..172bff3a06 100644
--- a/tests/FontMgrTest.cpp
+++ b/tests/FontMgrTest.cpp
@@ -690,7 +690,7 @@ static void test_matchStyleCSS3(skiatest::Reporter* reporter) {
};
for (StyleSetTest& test : tests) {
- for (const StyleSetTest::Case testCase : test.cases) {
+ for (const StyleSetTest::Case& testCase : test.cases) {
SkAutoTUnref<SkTypeface> typeface(test.styleSet.matchStyle(testCase.pattern));
if (typeface) {
REPORTER_ASSERT(reporter, typeface->fontStyle() == testCase.expectedResult);