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

Unified Diff: chrome/test/webdriver/cookie.cc

Issue 6893031: Revert r83048 "Removed wchar_t from Time::FromString." (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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 | « chrome/common/metrics_helpers.cc ('k') | net/ftp/ftp_util_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/webdriver/cookie.cc
diff --git a/chrome/test/webdriver/cookie.cc b/chrome/test/webdriver/cookie.cc
index d1baafbd22dc8e4ac00be29c5b18f55e44ded35a..fdabc5e84ae303085f5c6c8d1adefd04716d5bf0 100644
--- a/chrome/test/webdriver/cookie.cc
+++ b/chrome/test/webdriver/cookie.cc
@@ -40,7 +40,7 @@ Cookie::Cookie(const std::string& cookie) {
if (pc.HasExpires()) {
base::Time parsed_time;
- if (base::Time::FromString(pc.Expires().c_str(), &parsed_time))
+ if (base::Time::FromString(UTF8ToWide(pc.Expires()).c_str(), &parsed_time))
expiration_ = parsed_time;
}
}
« no previous file with comments | « chrome/common/metrics_helpers.cc ('k') | net/ftp/ftp_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698