Index: chrome/test/webdriver/commands/session_with_id.cc |
diff --git a/chrome/test/webdriver/commands/session_with_id.cc b/chrome/test/webdriver/commands/session_with_id.cc |
index ef3cd64056ae6252a16d76c215b28d6458305acf..ef7c1daa48113c0fdc975c8e63b8423a7c19225e 100644 |
--- a/chrome/test/webdriver/commands/session_with_id.cc |
+++ b/chrome/test/webdriver/commands/session_with_id.cc |
@@ -55,8 +55,8 @@ void SessionWithID::ExecuteGet(Response* const response) { |
} |
void SessionWithID::ExecuteDelete(Response* const response) { |
+ // Session manages its own liftime, so do not call delete. |
session_->Terminate(); |
- SessionManager::GetInstance()->Delete(session_->id()); |
response->set_status(kSuccess); |
} |