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

Unified Diff: tests/FontNamesTest.cpp

Issue 27044002: Clean up SkTypes.h. (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: For patch -p1. Created 7 years, 2 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 | « tests/ClipCubicTest.cpp ('k') | tests/MathTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/FontNamesTest.cpp
===================================================================
--- a/tests/FontNamesTest.cpp (revision 11693)
+++ b/tests/FontNamesTest.cpp (working copy)
@@ -161,7 +161,7 @@
SkString familyName;
typeface->getFamilyName(&familyName);
if (verbose) {
- printf("[%s]\n", familyName.c_str());
+ SkDebugf("[%s]\n", familyName.c_str());
}
SkAutoTUnref<SkTypeface::LocalizedStrings> familyNamesIter(
@@ -169,7 +169,7 @@
SkTypeface::LocalizedString familyNameLocalized;
while (familyNamesIter->next(&familyNameLocalized)) {
if (verbose) {
- printf("(%s) <%s>\n", familyNameLocalized.fString.c_str(),
+ SkDebugf("(%s) <%s>\n", familyNameLocalized.fString.c_str(),
familyNameLocalized.fLanguage.c_str());
}
}
@@ -193,7 +193,7 @@
"Requested family name, got something else."
);
if (verbose) {
- printf("{%s} <%s>\n", record.name.c_str(), record.language.c_str());
+ SkDebugf("{%s} <%s>\n", record.name.c_str(), record.language.c_str());
}
}
@@ -205,12 +205,12 @@
"Requested subfamily name, got something else."
);
if (verbose) {
- printf("{{%s}} <%s>\n", record.name.c_str(), record.language.c_str());
+ SkDebugf("{{%s}} <%s>\n", record.name.c_str(), record.language.c_str());
}
}
if (verbose) {
- printf("\n");
+ SkDebugf("\n");
}
}
}
« no previous file with comments | « tests/ClipCubicTest.cpp ('k') | tests/MathTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698