Bug 1172609 - Part 7: Hal calls nsJSUtils::ResetTimeZone() when timezone changes. r=dhylands

This commit is contained in:
Ted Clancy 2015-06-15 01:25:57 -07:00
parent 5429f5a87f
commit b0e005f1b5

View File

@ -22,6 +22,7 @@
#include "mozilla/StaticPtr.h" #include "mozilla/StaticPtr.h"
#include "mozilla/ClearOnShutdown.h" #include "mozilla/ClearOnShutdown.h"
#include "WindowIdentifier.h" #include "WindowIdentifier.h"
#include "nsJSUtils.h"
#include "mozilla/dom/ScreenOrientation.h" #include "mozilla/dom/ScreenOrientation.h"
#include "mozilla/dom/ContentChild.h" #include "mozilla/dom/ContentChild.h"
#include "mozilla/dom/ContentParent.h" #include "mozilla/dom/ContentParent.h"
@ -485,6 +486,7 @@ UnregisterSystemTimezoneChangeObserver(SystemTimezoneChangeObserver* aObserver)
void void
NotifySystemTimezoneChange(const SystemTimezoneChangeInformation& aSystemTimezoneChangeInfo) NotifySystemTimezoneChange(const SystemTimezoneChangeInformation& aSystemTimezoneChangeInfo)
{ {
nsJSUtils::ResetTimeZone();
sSystemTimezoneChangeObservers.BroadcastInformation(aSystemTimezoneChangeInfo); sSystemTimezoneChangeObservers.BroadcastInformation(aSystemTimezoneChangeInfo);
} }