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

Unified Diff: crypto/capi_util.cc

Issue 1308823002: Move Singleton and related structs to namespace base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ToT Created 5 years, 3 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 | « content/renderer/render_widget.cc ('k') | crypto/cssm_init.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: crypto/capi_util.cc
diff --git a/crypto/capi_util.cc b/crypto/capi_util.cc
index 2cf10625ec34fc09f66a0b8964c478e9cd50e5ea..1a3e139b50e0bd309efcb7d4f2f18d2d0c21f3d4 100644
--- a/crypto/capi_util.cc
+++ b/crypto/capi_util.cc
@@ -13,7 +13,7 @@ namespace {
class CAPIUtilSingleton {
public:
static CAPIUtilSingleton* GetInstance() {
- return Singleton<CAPIUtilSingleton>::get();
+ return base::Singleton<CAPIUtilSingleton>::get();
}
// Returns a lock to guard calls to CryptAcquireContext with
@@ -23,8 +23,8 @@ class CAPIUtilSingleton {
}
private:
- friend class Singleton<CAPIUtilSingleton>;
- friend struct DefaultSingletonTraits<CAPIUtilSingleton>;
+ friend class base::Singleton<CAPIUtilSingleton>;
+ friend struct base::DefaultSingletonTraits<CAPIUtilSingleton>;
CAPIUtilSingleton() {}
« no previous file with comments | « content/renderer/render_widget.cc ('k') | crypto/cssm_init.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698