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

Unified Diff: src/core/SkOpts.cpp

Issue 1903503002: Remove static initializer for SkOpts::Init() (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 8 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/SkOpts.h ('k') | tools/skiaserve/skiaserve.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkOpts.cpp
diff --git a/src/core/SkOpts.cpp b/src/core/SkOpts.cpp
index 3c6b5c12c8ae5324c782598d7486c81d66127a27..72c997e7bd6700a03511a8c64f9d53694e2aaf2d 100644
--- a/src/core/SkOpts.cpp
+++ b/src/core/SkOpts.cpp
@@ -141,10 +141,4 @@ namespace SkOpts {
static SkOnce once;
once(init);
}
-
-#if SK_ALLOW_STATIC_GLOBAL_INITIALIZERS
- static struct AutoInit {
- AutoInit() { Init(); }
- } gAutoInit;
-#endif
-}
+} // namespace SkOpts
« no previous file with comments | « src/core/SkOpts.h ('k') | tools/skiaserve/skiaserve.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698