Skip to content

Commit

Permalink
Bug 1342636 - Part 2: Switch to using the fallback implementation of …
Browse files Browse the repository at this point in the history
…GetCurrentScreenConfiguration in the content process; r=kanru

This uses the underlying XPCOM API which works based on asyncronous
IPC.
  • Loading branch information
ehsan committed Mar 11, 2017
1 parent b021648 commit 9bee788
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hal/sandbox/SandboxHal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
#include "mozilla/dom/battery/Types.h"
#include "mozilla/dom/network/Types.h"
#include "mozilla/dom/ScreenOrientation.h"
#include "mozilla/fallback/FallbackScreenConfiguration.h"
#include "mozilla/Observer.h"
#include "mozilla/Unused.h"
#include "nsAutoPtr.h"
Expand Down Expand Up @@ -118,7 +119,7 @@ DisableScreenConfigurationNotifications()
void
GetCurrentScreenConfiguration(ScreenConfiguration* aScreenConfiguration)
{
Hal()->SendGetCurrentScreenConfiguration(aScreenConfiguration);
fallback::GetCurrentScreenConfiguration(aScreenConfiguration);
}

bool
Expand Down

0 comments on commit 9bee788

Please sign in to comment.