use if (false) instead of #ifdef to avoid unused code warning

git-svn-id: http://skia.googlecode.com/svn/trunk@9861 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
reed@google.com 2013-07-02 14:01:23 +00:00
parent bcb42aecf1
commit c3eb56db6b

View File

@ -231,11 +231,12 @@ static void TestPaint(skiatest::Reporter* reporter) {
regression_measureText(reporter);
test_bicubic(reporter);
#ifdef SK_BUILD_FOR_MAC
// need to implement charsToGlyphs on other backends (e.g. linux, win)
// before we can run this tests everywhre
test_cmap(reporter);
#endif
// before we can run this tests everywhere
if (false) {
test_cmap(reporter);
}
}
#include "TestClassDef.h"