Title: [219147] trunk/Source/WebCore
Revision
219147
Author
commit-qu...@webkit.org
Date
2017-07-05 12:58:47 -0700 (Wed, 05 Jul 2017)

Log Message

Style sharing check for fullscreen element seems bogus.
https://bugs.webkit.org/show_bug.cgi?id=160196

Patch by Emilio Cobos Álvarez <eco...@igalia.com> on 2017-07-05
Reviewed by Antti Koivisto.

No new tests (no easy way to test this reliably).

* style/StyleSharingResolver.cpp:
(WebCore::Style::SharingResolver::canShareStyleWithElement):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (219146 => 219147)


--- trunk/Source/WebCore/ChangeLog	2017-07-05 19:56:23 UTC (rev 219146)
+++ trunk/Source/WebCore/ChangeLog	2017-07-05 19:58:47 UTC (rev 219147)
@@ -1,3 +1,15 @@
+2017-07-05  Emilio Cobos Álvarez  <eco...@igalia.com>
+
+        Style sharing check for fullscreen element seems bogus.
+        https://bugs.webkit.org/show_bug.cgi?id=160196
+
+        Reviewed by Antti Koivisto.
+
+        No new tests (no easy way to test this reliably).
+
+        * style/StyleSharingResolver.cpp:
+        (WebCore::Style::SharingResolver::canShareStyleWithElement):
+
 2017-07-05  Simon Fraser  <simon.fra...@apple.com>
 
         Add a logging channel for IOSurface allocations

Modified: trunk/Source/WebCore/style/StyleSharingResolver.cpp (219146 => 219147)


--- trunk/Source/WebCore/style/StyleSharingResolver.cpp	2017-07-05 19:56:23 UTC (rev 219146)
+++ trunk/Source/WebCore/style/StyleSharingResolver.cpp	2017-07-05 19:58:47 UTC (rev 219147)
@@ -292,7 +292,7 @@
         return false;
 
 #if ENABLE(FULLSCREEN_API)
-    if (&element == m_document.webkitCurrentFullScreenElement() || &element == m_document.webkitCurrentFullScreenElement())
+    if (&candidateElement == m_document.webkitCurrentFullScreenElement() || &element == m_document.webkitCurrentFullScreenElement())
         return false;
 #endif
     return true;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to