aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ports/SkFontMgr_android_parser.cpp
diff options
context:
space:
mode:
authorGravatar bungeman <bungeman@google.com>2015-07-29 11:49:40 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-07-29 11:49:40 -0700
commitf20488b4f2139e6ca09fee7e39b731dd8ab467db (patch)
tree9937f93de673f5b6ab43c8ced877fa828e27f3dc /src/ports/SkFontMgr_android_parser.cpp
parent26e0e587f76f2a9338652c100f835c2377c908d3 (diff)
Clean up a few includes, introduce iwyu.
The current include-what-you-use with current clang is much less noisy and more useful than it has been in the past. This change introduces a few IWYU directives (which are helpful documentation for humans as well) and fixes a few sets of includes. Review URL: https://codereview.chromium.org/1207893002
Diffstat (limited to 'src/ports/SkFontMgr_android_parser.cpp')
-rw-r--r--src/ports/SkFontMgr_android_parser.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ports/SkFontMgr_android_parser.cpp b/src/ports/SkFontMgr_android_parser.cpp
index 5ca6d4fcc5..53decf36cf 100644
--- a/src/ports/SkFontMgr_android_parser.cpp
+++ b/src/ports/SkFontMgr_android_parser.cpp
@@ -9,12 +9,13 @@
#include "SkStream.h"
#include "SkTDArray.h"
#include "SkTSearch.h"
-#include "SkTypeface.h"
+#include "SkTemplates.h"
-#include <expat.h>
#include <dirent.h>
+#include <expat.h>
#include <stdlib.h>
+#include <string.h>
#define LMP_SYSTEM_FONTS_FILE "/system/etc/fonts.xml"
#define OLD_SYSTEM_FONTS_FILE "/system/etc/system_fonts.xml"