mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 21:01:08 +00:00
Bug 1465294 Part 7 - Don't send PHal message from middleman processes, r=gsvelto.
--HG-- extra : rebase_source : ff58a2e4591034bba7593ad83a3896de869eac03
This commit is contained in:
parent
8c8d7af19e
commit
c1908d9119
@ -134,7 +134,10 @@ LockScreenOrientation(const dom::ScreenOrientationInternal& aOrientation)
|
||||
void
|
||||
UnlockScreenOrientation()
|
||||
{
|
||||
Hal()->SendUnlockScreenOrientation();
|
||||
// Don't send this message from both the middleman and recording processes.
|
||||
if (!recordreplay::IsMiddleman()) {
|
||||
Hal()->SendUnlockScreenOrientation();
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user