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

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

Issue 6903022: Removed wchar_t from Time::FromString (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
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
Index: chrome/test/webdriver/cookie.cc
diff --git a/chrome/test/webdriver/cookie.cc b/chrome/test/webdriver/cookie.cc
index fdabc5e84ae303085f5c6c8d1adefd04716d5bf0..d1baafbd22dc8e4ac00be29c5b18f55e44ded35a 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(UTF8ToWide(pc.Expires()).c_str(), &parsed_time))
+ if (base::Time::FromString(pc.Expires().c_str(), &parsed_time))
expiration_ = parsed_time;
}
}

Powered by Google App Engine
This is Rietveld 408576698