Title: [275919] branches/safari-611-branch/Source/WebCore
Revision
275919
Author
ryanhad...@apple.com
Date
2021-04-13 17:04:15 -0700 (Tue, 13 Apr 2021)

Log Message

Unreviewed build fix for rdar://76617366.

* page/Quirks.cpp:
(WebCore::Quirks::shouldDisableEndFullscreenEventWhenEnteringPictureInPictureFromFullscreenQuirk const):
(WebCore::Quirks::requiresUserGestureToLoadInPictureInPicture const):

Modified Paths

Diff

Modified: branches/safari-611-branch/Source/WebCore/ChangeLog (275918 => 275919)


--- branches/safari-611-branch/Source/WebCore/ChangeLog	2021-04-13 23:56:37 UTC (rev 275918)
+++ branches/safari-611-branch/Source/WebCore/ChangeLog	2021-04-14 00:04:15 UTC (rev 275919)
@@ -1,3 +1,11 @@
+2021-04-13  Ryan Haddad  <ryanhad...@apple.com>
+
+        Unreviewed build fix for rdar://76617366.
+
+        * page/Quirks.cpp:
+        (WebCore::Quirks::shouldDisableEndFullscreenEventWhenEnteringPictureInPictureFromFullscreenQuirk const):
+        (WebCore::Quirks::requiresUserGestureToLoadInPictureInPicture const):
+
 2021-04-08  Russell Epstein  <repst...@apple.com>
 
         Cherry-pick r274819. rdar://problem/76373741

Modified: branches/safari-611-branch/Source/WebCore/page/Quirks.cpp (275918 => 275919)


--- branches/safari-611-branch/Source/WebCore/page/Quirks.cpp	2021-04-13 23:56:37 UTC (rev 275918)
+++ branches/safari-611-branch/Source/WebCore/page/Quirks.cpp	2021-04-14 00:04:15 UTC (rev 275919)
@@ -1301,6 +1301,9 @@
     if (!m_shouldDisableEndFullscreenEventWhenEnteringPictureInPictureFromFullscreenQuirk) {
         auto host = m_document->topDocument().url().host();
         m_shouldDisableEndFullscreenEventWhenEnteringPictureInPictureFromFullscreenQuirk = equalLettersIgnoringASCIICase(host, "trailers.apple.com");
+
+        auto domain = RegistrableDomain(m_document->topDocument().url());
+        m_shouldDisableEndFullscreenEventWhenEnteringPictureInPictureFromFullscreenQuirk = m_shouldDisableEndFullscreenEventWhenEnteringPictureInPictureFromFullscreenQuirk || domain == "espn.com"_s;
     }
 
     return *m_shouldDisableEndFullscreenEventWhenEnteringPictureInPictureFromFullscreenQuirk;
@@ -1362,9 +1365,6 @@
     if (!m_requiresUserGestureToLoadInPictureInPicture) {
         auto domain = RegistrableDomain(m_document->topDocument().url());
         m_requiresUserGestureToLoadInPictureInPicture = domain.string() == "twitter.com"_s;
-
-        auto domain = RegistrableDomain(m_document->topDocument().url());
-        m_shouldDisableEndFullscreenEventWhenEnteringPictureInPictureFromFullscreenQuirk = m_shouldDisableEndFullscreenEventWhenEnteringPictureInPictureFromFullscreenQuirk || domain == "espn.com"_s;
     }
 
     return *m_requiresUserGestureToLoadInPictureInPicture;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to