Chromium Code Reviews

Unified Diff: ceee/ie/broker/broker.cc

Issue 5581008: Add a new GetInstance() method for singleton classes, take 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: ceee/ie/broker/broker.cc
diff --git a/ceee/ie/broker/broker.cc b/ceee/ie/broker/broker.cc
index 36e8bc8c78d35360df2cdbd6714d4d7b919c3b4c..65ea3769a656e63ed54ca21202c8cf2172f3fd44 100644
--- a/ceee/ie/broker/broker.cc
+++ b/ceee/ie/broker/broker.cc
@@ -16,9 +16,8 @@
HRESULT CeeeBroker::FinalConstruct() {
// So that we get a pointer to the ExecutorsManager and let tests override it.
- executors_manager_ = Singleton<ExecutorsManager,
- ExecutorsManager::SingletonTraits>::get();
- api_dispatcher_ = ProductionApiDispatcher::get();
+ executors_manager_ = ExecutorsManager::GetInstance();
+ api_dispatcher_ = ProductionApiDispatcher::GetInstance();
return S_OK;
}

Powered by Google App Engine