summaryrefslogtreecommitdiffstats
path: root/core/jni/android/graphics/MinikinSkia.h
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@google.com>2014-07-29 15:06:26 -0400
committerRaph Levien <raph@google.com>2014-07-30 14:58:40 +0000
commite21e2a2d1d85d422230c1115abba824338763a88 (patch)
tree5ecbbf591545f1d36acdec03446052d7e268163e /core/jni/android/graphics/MinikinSkia.h
parent29762c3dfb7a510c23f021f6797840ebd80663af (diff)
downloadframeworks_base-e21e2a2d1d85d422230c1115abba824338763a88.zip
frameworks_base-e21e2a2d1d85d422230c1115abba824338763a88.tar.gz
frameworks_base-e21e2a2d1d85d422230c1115abba824338763a88.tar.bz2
Clean up Minikin includes
Include headers where they are used. Add header guards to MinikinSkia.h Change-Id: If341231625348290d28a7d625561fffc171a8407
Diffstat (limited to 'core/jni/android/graphics/MinikinSkia.h')
-rw-r--r--core/jni/android/graphics/MinikinSkia.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/core/jni/android/graphics/MinikinSkia.h b/core/jni/android/graphics/MinikinSkia.h
index ac4d2a0..255617e 100644
--- a/core/jni/android/graphics/MinikinSkia.h
+++ b/core/jni/android/graphics/MinikinSkia.h
@@ -14,6 +14,11 @@
* limitations under the License.
*/
+#ifndef ANDROID_MINIKIN_SKIA_H
+#define ANDROID_MINIKIN_SKIA_H
+
+#include <minikin/MinikinFont.h>
+
namespace android {
class MinikinFontSkia : public MinikinFont {
@@ -47,4 +52,6 @@ private:
SkTypeface *mTypeface;
};
-} // namespace android \ No newline at end of file
+} // namespace android
+
+#endif // ANDROID_MINIKIN_SKIA_H \ No newline at end of file