fix build warning for unused function
R=robertphillips@google.com Review URL: https://codereview.chromium.org/24240008 git-svn-id: http://skia.googlecode.com/svn/trunk@11382 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
0936c01a39
commit
e2fd2d2651
@ -11,6 +11,7 @@
|
||||
#include "SkFontMgr.h"
|
||||
#include "SkTypeface.h"
|
||||
|
||||
#if !defined(SK_BUILD_FOR_ANDROID)
|
||||
/*
|
||||
* If the font backend is going to "alias" some font names to other fonts
|
||||
* (e.g. sans -> Arial) then we want to at least get the same typeface back
|
||||
@ -31,6 +32,7 @@ static void test_badnames(skiatest::Reporter* reporter) {
|
||||
REPORTER_ASSERT(reporter, first->uniqueID() == face->uniqueID());
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
static void test_fontiter(skiatest::Reporter* reporter, bool verbose) {
|
||||
SkAutoTUnref<SkFontMgr> fm(SkFontMgr::RefDefault());
|
||||
|
Loading…
Reference in New Issue
Block a user