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

Unified Diff: chrome/test/webdriver/commands/create_session.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. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/test/webdriver/commands/create_session.cc
diff --git a/chrome/test/webdriver/commands/create_session.cc b/chrome/test/webdriver/commands/create_session.cc
index 30c71c74af96392b5fc78f3c95e0ae8edfdc6a17..7ba85a4729642bfc14a793487cf1158dfa7a0fab 100644
--- a/chrome/test/webdriver/commands/create_session.cc
+++ b/chrome/test/webdriver/commands/create_session.cc
@@ -15,7 +15,7 @@
namespace webdriver {
void CreateSession::ExecutePost(Response* const response) {
- SessionManager* session_manager = Singleton<SessionManager>::get();
+ SessionManager* session_manager = SessionManager::GetInstance();
std::string session_id;
if (!session_manager->Create(&session_id)) {

Powered by Google App Engine
This is Rietveld 408576698