Index: src/ports/SkGlobalInitialization_chromium.cpp |
diff --git a/src/ports/SkGlobalInitialization_chromium.cpp b/src/ports/SkGlobalInitialization_chromium.cpp |
index 3aecbd5471c71eb2a299b9c0f5486c5c64e2dfb4..9568748278d4dba20b48d93a40eed5bb961cf0c0 100644 |
--- a/src/ports/SkGlobalInitialization_chromium.cpp |
+++ b/src/ports/SkGlobalInitialization_chromium.cpp |
@@ -143,3 +143,7 @@ SK_DECLARE_STATIC_ONCE(once); |
void SkFlattenable::InitializeFlattenablesIfNeeded() { |
SkOnce(&once, SkPrivateEffectInitializer::Init); |
} |
+ |
+#if defined(SK_BUILD_FOR_WIN32) && SK_CPU_SSE_LEVEL < SK_CPU_SSE_LEVEL_SSE2 |
+ #error "This double checks that Chromium is always built with SSE2+ on Windows." |
+#endif |