diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2021-10-26 13:57:00 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2021-11-02 11:31:01 +0000 |
commit | 1943b3c2a1dcee36c233724fc4ee7613d71b9cf6 (patch) | |
tree | 8c1b5f12357025c197da5427ae02cfdc2f3570d6 /chromium/third_party/blink/renderer/modules/media_controls/media_controls_orientation_lock_delegate.cc | |
parent | 21ba0c5d4bf8fba15dddd97cd693bad2358b77fd (diff) | |
download | qtwebengine-chromium-1943b3c2a1dcee36c233724fc4ee7613d71b9cf6.tar.gz |
BASELINE: Update Chromium to 94.0.4606.111
Change-Id: I924781584def20fc800bedf6ff41fdb96c438193
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/third_party/blink/renderer/modules/media_controls/media_controls_orientation_lock_delegate.cc')
-rw-r--r-- | chromium/third_party/blink/renderer/modules/media_controls/media_controls_orientation_lock_delegate.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/chromium/third_party/blink/renderer/modules/media_controls/media_controls_orientation_lock_delegate.cc b/chromium/third_party/blink/renderer/modules/media_controls/media_controls_orientation_lock_delegate.cc index bd81bebbde5..1341cb00f96 100644 --- a/chromium/third_party/blink/renderer/modules/media_controls/media_controls_orientation_lock_delegate.cc +++ b/chromium/third_party/blink/renderer/modules/media_controls/media_controls_orientation_lock_delegate.cc @@ -8,7 +8,6 @@ #include "build/build_config.h" #include "third_party/blink/public/common/thread_safe_browser_interface_broker_proxy.h" -#include "third_party/blink/public/common/widget/screen_info.h" #include "third_party/blink/public/platform/task_type.h" #include "third_party/blink/renderer/core/dom/events/event.h" #include "third_party/blink/renderer/core/frame/local_dom_window.h" @@ -25,6 +24,7 @@ #include "third_party/blink/renderer/platform/runtime_enabled_features.h" #include "third_party/blink/renderer/platform/wtf/functional.h" #include "third_party/blink/renderer/platform/wtf/math_extras.h" +#include "ui/display/screen_info.h" #if defined(OS_ANDROID) #include "third_party/blink/public/platform/platform.h" @@ -271,13 +271,13 @@ MediaControlsOrientationLockDelegate::ComputeOrientationLock() const { ChromeClient& chrome_client = frame->GetChromeClient(); switch (chrome_client.GetScreenInfo(*frame).orientation_type) { - case mojom::blink::ScreenOrientation::kPortraitPrimary: - case mojom::blink::ScreenOrientation::kPortraitSecondary: + case display::mojom::blink::ScreenOrientation::kPortraitPrimary: + case display::mojom::blink::ScreenOrientation::kPortraitSecondary: return device::mojom::blink::ScreenOrientationLockType::PORTRAIT; - case mojom::blink::ScreenOrientation::kLandscapePrimary: - case mojom::blink::ScreenOrientation::kLandscapeSecondary: + case display::mojom::blink::ScreenOrientation::kLandscapePrimary: + case display::mojom::blink::ScreenOrientation::kLandscapeSecondary: return device::mojom::blink::ScreenOrientationLockType::LANDSCAPE; - case mojom::blink::ScreenOrientation::kUndefined: + case display::mojom::blink::ScreenOrientation::kUndefined: return device::mojom::blink::ScreenOrientationLockType::LANDSCAPE; } |