aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-content_browser_time__zone__monitor.cc
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-content_browser_time__zone__monitor.cc')
-rw-r--r--www/chromium/files/patch-content_browser_time__zone__monitor.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/chromium/files/patch-content_browser_time__zone__monitor.cc b/www/chromium/files/patch-content_browser_time__zone__monitor.cc
new file mode 100644
index 000000000000..bfd52ebfc30d
--- /dev/null
+++ b/www/chromium/files/patch-content_browser_time__zone__monitor.cc
@@ -0,0 +1,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());