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

Unified Diff: src/date.cc

Issue 2726253002: [date] Add a cache for timezone names to DateCache (Closed)
Patch Set: Rebase Created 3 years, 9 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/date.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/date.cc
diff --git a/src/date.cc b/src/date.cc
index d0ff192b6ad16b05f6bf9e5b652aef17f173f1da..6471bdb00af5074f20e71805cada1101b5b923b3 100644
--- a/src/date.cc
+++ b/src/date.cc
@@ -39,6 +39,8 @@ void DateCache::ResetDateCache() {
local_offset_ms_ = kInvalidLocalOffsetInMs;
ymd_valid_ = false;
tz_cache_->Clear();
+ tz_name_ = nullptr;
+ dst_tz_name_ = nullptr;
}
« no previous file with comments | « src/date.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698