зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1172609 - Part 7: Hal calls nsJSUtils::ResetTimeZone() when timezone changes. r=dhylands
This commit is contained in:
Родитель
9e3bed7203
Коммит
8ca2499a93
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче