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

Unified Diff: src/date.h

Issue 2811103002: Revert of [date] Add ICU backend for timezone info behind a flag (Closed)
Patch Set: Created 3 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 | « no previous file | src/date.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/date.h
diff --git a/src/date.h b/src/date.h
index d4e12f8bf2bf0375ea4aee4106578d7bf89932f6..5de2b84408634ef7b223ec7af3f3376cf7b73a74 100644
--- a/src/date.h
+++ b/src/date.h
@@ -39,7 +39,9 @@
// It is an invariant of DateCache that cache stamp is non-negative.
static const int kInvalidStamp = -1;
- DateCache();
+ DateCache() : stamp_(0), tz_cache_(base::OS::CreateTimezoneCache()) {
+ ResetDateCache();
+ }
virtual ~DateCache() {
delete tz_cache_;
« no previous file with comments | « no previous file | src/date.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698