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

Unified Diff: src/date.cc

Issue 2726253002: [date] Add a cache for timezone names to DateCache (Closed)
Patch Set: Actually use the cache... 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
« src/date.h ('K') | « 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 cc7603322de2d6a02ce8839cd059ce60578b0a48..bbec018aac953cd35c476aa58210db7f32dc9b32 100644
--- a/src/date.cc
+++ b/src/date.cc
@@ -38,6 +38,8 @@ void DateCache::ResetDateCache() {
after_ = &dst_[1];
local_offset_ms_ = kInvalidLocalOffsetInMs;
ymd_valid_ = false;
+ tz_name_ = nullptr;
+ dst_tz_name_ = nullptr;
base::OS::ClearTimezoneCache(tz_cache_);
}
« src/date.h ('K') | « src/date.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698