summaryrefslogtreecommitdiff
path: root/chromium/content/browser/screen_orientation
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/content/browser/screen_orientation')
-rw-r--r--chromium/content/browser/screen_orientation/screen_orientation_provider_unittest.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/chromium/content/browser/screen_orientation/screen_orientation_provider_unittest.cc b/chromium/content/browser/screen_orientation/screen_orientation_provider_unittest.cc
index 31d04093375..4fbdb0a000d 100644
--- a/chromium/content/browser/screen_orientation/screen_orientation_provider_unittest.cc
+++ b/chromium/content/browser/screen_orientation/screen_orientation_provider_unittest.cc
@@ -63,10 +63,9 @@ class FakeWebContentsDelegate : public WebContentsDelegate {
~FakeWebContentsDelegate() override = default;
void EnterFullscreenModeForTab(
- WebContents* web_contents,
- const GURL& origin,
+ RenderFrameHost* requesting_frame,
const blink::mojom::FullscreenOptions& options) override {
- fullscreened_contents_ = web_contents;
+ fullscreened_contents_ = WebContents::FromRenderFrameHost(requesting_frame);
}
void ExitFullscreenModeForTab(WebContents* web_contents) override {