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

Unified Diff: src/date.h

Issue 2724373002: [date] Add ICU backend for timezone info behind a flag (Closed)
Patch Set: Don't leak the icu::TimeZone* Created 3 years, 10 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 | « src/bootstrapper.cc ('k') | src/date.cc » ('j') | src/date.cc » ('J')
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 1a3b65638ce951909429613a1f4fd46345f46a80..e4bb4f3a2f697fc06f0717b02baf328cf3e2b8c3 100644
--- a/src/date.h
+++ b/src/date.h
@@ -39,9 +39,7 @@ class DateCache {
// It is an invariant of DateCache that cache stamp is non-negative.
static const int kInvalidStamp = -1;
- DateCache() : stamp_(0), tz_cache_(base::OS::CreateTimezoneCache()) {
- ResetDateCache();
- }
+ DateCache();
virtual ~DateCache() {
delete tz_cache_;
« no previous file with comments | « src/bootstrapper.cc ('k') | src/date.cc » ('j') | src/date.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698