Index: src/core/SkGraphics.cpp |
diff --git a/src/core/SkGraphics.cpp b/src/core/SkGraphics.cpp |
index a2456d808d1e37df0c8a33cec7936b17af3ec2cd..81d3b3974ffd0be1befe5ae4f3e908bd64d2451e 100644 |
--- a/src/core/SkGraphics.cpp |
+++ b/src/core/SkGraphics.cpp |
@@ -10,6 +10,7 @@ |
#include "SkBlitter.h" |
#include "SkCanvas.h" |
+#include "SkCpu.h" |
#include "SkGeometry.h" |
#include "SkGlyphCache.h" |
#include "SkImageFilter.h" |
@@ -46,6 +47,7 @@ void SkGraphics::GetVersion(int32_t* major, int32_t* minor, int32_t* patch) { |
void SkGraphics::Init() { |
// SkGraphics::Init() must be thread-safe and idempotent. |
+ SkCpu::CacheRuntimeFeatures(); |
SkOpts::Init(); |
#ifdef SK_DEVELOPER |