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

Unified Diff: src/core/Sk4x_portable.h

Issue 1004693002: Add #include first in Sk4x_* files (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: Created 5 years, 9 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 | « src/core/Sk4x_neon.h ('k') | src/core/Sk4x_sse.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/Sk4x_portable.h
diff --git a/src/core/Sk4x_portable.h b/src/core/Sk4x_portable.h
index 440e91faaa581b87a0d5441256bc62c0fe88538f..3b7ad46e738f324c07fa41b848f44803cfb97cdb 100644
--- a/src/core/Sk4x_portable.h
+++ b/src/core/Sk4x_portable.h
@@ -1,6 +1,8 @@
// It is important _not_ to put header guards here.
// This file will be intentionally included three times.
+#include "SkTypes.h" // Keep this before any #ifdef for skbug.com/3362
+
#if defined(SK4X_PREAMBLE)
#include "SkFloatingPoint.h"
#include <math.h>
« no previous file with comments | « src/core/Sk4x_neon.h ('k') | src/core/Sk4x_sse.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698