diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2019-08-30 10:22:43 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2019-08-30 12:36:28 +0000 |
commit | 271a6c3487a14599023a9106329505597638d793 (patch) | |
tree | e040d58ffc86c1480b79ca8528020ca9ec919bf8 /chromium/third_party/blink/renderer/core/html/media/video_auto_fullscreen_test.cc | |
parent | 7b2ffa587235a47d4094787d72f38102089f402a (diff) | |
download | qtwebengine-chromium-271a6c3487a14599023a9106329505597638d793.tar.gz |
BASELINE: Update Chromium to 77.0.3865.59
Change-Id: I1e89a5f3b009a9519a6705102ad65c92fe736f21
Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
Diffstat (limited to 'chromium/third_party/blink/renderer/core/html/media/video_auto_fullscreen_test.cc')
-rw-r--r-- | chromium/third_party/blink/renderer/core/html/media/video_auto_fullscreen_test.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/chromium/third_party/blink/renderer/core/html/media/video_auto_fullscreen_test.cc b/chromium/third_party/blink/renderer/core/html/media/video_auto_fullscreen_test.cc index 749e6a68982..c8505727c13 100644 --- a/chromium/third_party/blink/renderer/core/html/media/video_auto_fullscreen_test.cc +++ b/chromium/third_party/blink/renderer/core/html/media/video_auto_fullscreen_test.cc @@ -14,6 +14,7 @@ #include "third_party/blink/renderer/core/html_names.h" #include "third_party/blink/renderer/core/testing/wait_for_event.h" #include "third_party/blink/renderer/platform/testing/empty_web_media_player.h" +#include "third_party/blink/renderer/platform/testing/runtime_enabled_features_test_helpers.h" #include "third_party/blink/renderer/platform/testing/unit_test_helpers.h" namespace blink { @@ -52,11 +53,11 @@ class VideoAutoFullscreenFrameClient WebWidget* web_widget_; }; -class VideoAutoFullscreen : public testing::Test { +class VideoAutoFullscreen : public testing::Test, + private ScopedVideoAutoFullscreenForTest { public: + VideoAutoFullscreen() : ScopedVideoAutoFullscreenForTest(true) {} void SetUp() override { - RuntimeEnabledFeatures::SetVideoAutoFullscreenEnabled(true); - web_view_helper_.Initialize(&web_frame_client_); GetWebView()->GetSettings()->SetAutoplayPolicy( WebSettings::AutoplayPolicy::kUserGestureRequired); |