Bug 1545429 - Avoid passing unsupported Android screen orientation flag combinations to Gecko. r=snorp

Differential Revision: https://phabricator.services.mozilla.com/D36351
This commit is contained in:
Henri Sivonen
2019-07-02 17:42:34 +00:00
parent fd31f0dc38
commit fa7d5b39bc
2 changed files with 21 additions and 18 deletions

View File

@@ -668,8 +668,6 @@ uint32_t AndroidBridge::GetScreenOrientation() {
int16_t orientation = GeckoAppShell::GetScreenOrientation();
if (!orientation) return hal::eScreenOrientation_None;
return static_cast<hal::ScreenOrientation>(orientation);
}