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

Unified Diff: src/core/SkCpu.h

Issue 2138073002: Clean up hyper-local SkCpu feature test experiment. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 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
« no previous file with comments | « no previous file | src/core/SkCpu.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkCpu.h
diff --git a/src/core/SkCpu.h b/src/core/SkCpu.h
index b212da482c977667795fd2e80a8858208258588e..219ec698458b94b09a6d1d5a01c472a993962b7e 100644
--- a/src/core/SkCpu.h
+++ b/src/core/SkCpu.h
@@ -32,11 +32,7 @@ struct SkCpu {
static void CacheRuntimeFeatures();
static bool Supports(uint32_t);
private:
-#if defined(_MSC_VER) || !defined(SkCpu_IMPL)
- static const uint32_t gCachedFeatures;
-#else
- static uint32_t gCachedFeatures;
-#endif
+ static uint32_t gCachedFeatures;
};
inline bool SkCpu::Supports(uint32_t mask) {
« no previous file with comments | « no previous file | src/core/SkCpu.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698