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

Unified Diff: include/core/SkTypes.h

Issue 1207893002: Clean up a few includes, introduce iwyu. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Avoid hiding includes really deep when we don't need it. Created 5 years, 5 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
Index: include/core/SkTypes.h
diff --git a/include/core/SkTypes.h b/include/core/SkTypes.h
index 1b0b12c621c6ce3ef282239959e0ec15e61c1f2e..e597fdae04371bb4bf5372a3d45d00dbd09891d6 100644
--- a/include/core/SkTypes.h
+++ b/include/core/SkTypes.h
@@ -8,6 +8,7 @@
#ifndef SkTypes_DEFINED
#define SkTypes_DEFINED
+// IWYU pragma: begin_exports
#include "SkPreConfig.h"
#include "SkUserConfig.h"
#include "SkPostConfig.h"
@@ -19,6 +20,9 @@
#elif SK_CPU_SSE_LEVEL >= SK_CPU_SSE_LEVEL_SSE2
#include <immintrin.h>
#endif
+// IWYU pragma: end_exports
+
+#include <string.h>
/** \file SkTypes.h
*/

Powered by Google App Engine
This is Rietveld 408576698