Skip to content

Commit

Permalink
Bug 1172609 - Part 7: Hal calls nsJSUtils::ResetTimeZone() when timez…
Browse files Browse the repository at this point in the history
…one changes. r=dhylands
  • Loading branch information
tedders1 committed Jun 15, 2015
1 parent 9e3bed7 commit 8ca2499
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hal/Hal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -485,6 +486,7 @@ UnregisterSystemTimezoneChangeObserver(SystemTimezoneChangeObserver* aObserver)
void
NotifySystemTimezoneChange(const SystemTimezoneChangeInformation& aSystemTimezoneChangeInfo)
{
nsJSUtils::ResetTimeZone();
sSystemTimezoneChangeObservers.BroadcastInformation(aSystemTimezoneChangeInfo);
}

Expand Down

0 comments on commit 8ca2499

Please sign in to comment.