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

Unified Diff: chromecast/crash/linux/dump_info.cc

Issue 2569913003: [base::Time] Follow-up cl: Remove deprecated FromLocalExploded FromUTCExploded (Closed)
Patch Set: rebased Created 4 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
« no previous file with comments | « base/time/time.cc ('k') | chromecast/crash/linux/dump_info_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/crash/linux/dump_info.cc
diff --git a/chromecast/crash/linux/dump_info.cc b/chromecast/crash/linux/dump_info.cc
index fac15b5522081fddfd49206902d27d260f8dd608..c3e4992bc0d38c831ff62f884f34869486edc997 100644
--- a/chromecast/crash/linux/dump_info.cc
+++ b/chromecast/crash/linux/dump_info.cc
@@ -148,8 +148,7 @@ bool DumpInfo::SetDumpTimeFromString(const std::string& timestr) {
return false;
}
- dump_time_ = base::Time::FromLocalExploded(ex);
- return true;
+ return base::Time::FromLocalExploded(ex, &dump_time_);
}
} // namespace chromecast
« no previous file with comments | « base/time/time.cc ('k') | chromecast/crash/linux/dump_info_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698