From 0b98f67b9060aee9e8e9ccbde2f58ee982fcec67 Mon Sep 17 00:00:00 2001 From: "commit-bot@chromium.org" Date: Wed, 5 Mar 2014 19:41:10 +0000 Subject: Fix FontMgrTest to allow for unnamed fonts. Motivation: we are testing on a system without fonts and are falling back on SkTypeface_Empty. R=bungeman@google.com Author: halcanary@google.com Review URL: https://codereview.chromium.org/187933002 git-svn-id: http://skia.googlecode.com/svn/trunk@13675 2bbb7eff-a529-9590-31e7-b0007b416f81 --- tests/FontMgrTest.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'tests/FontMgrTest.cpp') diff --git a/tests/FontMgrTest.cpp b/tests/FontMgrTest.cpp index afe618c201..6e59364684 100644 --- a/tests/FontMgrTest.cpp +++ b/tests/FontMgrTest.cpp @@ -47,7 +47,6 @@ static void test_fontiter(skiatest::Reporter* reporter, bool verbose) { for (int i = 0; i < count; ++i) { SkString fname; fm->getFamilyName(i, &fname); - REPORTER_ASSERT(reporter, fname.size() > 0); SkAutoTUnref fnset(fm->matchFamily(fname.c_str())); SkAutoTUnref set(fm->createStyleSet(i)); -- cgit v1.2.3