mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-04 21:18:35 +00:00
Bug 1342636 - Part 2: Switch to using the fallback implementation of GetCurrentScreenConfiguration in the content process; r=kanru
This uses the underlying XPCOM API which works based on asyncronous IPC.
This commit is contained in:
parent
48c08aeda9
commit
f5d7e843c0
@ -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"
|
||||
@ -118,7 +119,7 @@ DisableScreenConfigurationNotifications()
|
||||
void
|
||||
GetCurrentScreenConfiguration(ScreenConfiguration* aScreenConfiguration)
|
||||
{
|
||||
Hal()->SendGetCurrentScreenConfiguration(aScreenConfiguration);
|
||||
fallback::GetCurrentScreenConfiguration(aScreenConfiguration);
|
||||
}
|
||||
|
||||
bool
|
||||
|
Loading…
x
Reference in New Issue
Block a user