aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-content_browser_time__zone__monitor.cc
blob: bfd52ebfc30ddc45bae337ddbd0a7d861d3e550d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- content/browser/time_zone_monitor.cc.orig	2016-05-11 19:02:21 UTC
+++ content/browser/time_zone_monitor.cc
@@ -29,7 +29,7 @@ void TimeZoneMonitor::NotifyRenderers() 
   scoped_ptr<icu::TimeZone> new_zone(icu::TimeZone::createDefault());
 #else
   icu::TimeZone* new_zone = icu::TimeZone::detectHostTimeZone();
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_BSD)
   // We get here multiple times on Linux per a single tz change, but
   // want to update the ICU default zone and notify renderer only once.
   scoped_ptr<icu::TimeZone> current_zone(icu::TimeZone::createDefault());