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