Title: [87643] trunk/Source/WebCore
Revision
87643
Author
[email protected]
Date
2011-05-29 13:12:01 -0700 (Sun, 29 May 2011)

Log Message

2011-05-29  Darin Adler  <[email protected]>

        Reviewed by Dan Bernstein.

        Fix assertion seen when entering full screen mode for standalone video
        https://bugs.webkit.org/show_bug.cgi?id=61708

        We don't currently have a way to make a regression test for this.

        * dom/Document.cpp:
        (WebCore::Document::setAnimatingFullScreen): Call scheduleForcedStyleRecalc,
        because scheduleStyleRecalc is intended to only be called when the style
        system itself detects recalc is needed.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (87642 => 87643)


--- trunk/Source/WebCore/ChangeLog	2011-05-29 20:06:10 UTC (rev 87642)
+++ trunk/Source/WebCore/ChangeLog	2011-05-29 20:12:01 UTC (rev 87643)
@@ -1,3 +1,17 @@
+2011-05-29  Darin Adler  <[email protected]>
+
+        Reviewed by Dan Bernstein.
+
+        Fix assertion seen when entering full screen mode for standalone video
+        https://bugs.webkit.org/show_bug.cgi?id=61708
+
+        We don't currently have a way to make a regression test for this.
+
+        * dom/Document.cpp:
+        (WebCore::Document::setAnimatingFullScreen): Call scheduleForcedStyleRecalc,
+        because scheduleStyleRecalc is intended to only be called when the style
+        system itself detects recalc is needed.
+
 2011-05-27  Andreas Kling  <[email protected]>
 
         Reviewed by James Robinson.

Modified: trunk/Source/WebCore/dom/Document.cpp (87642 => 87643)


--- trunk/Source/WebCore/dom/Document.cpp	2011-05-29 20:06:10 UTC (rev 87642)
+++ trunk/Source/WebCore/dom/Document.cpp	2011-05-29 20:12:01 UTC (rev 87643)
@@ -5054,7 +5054,7 @@
 
     if (m_fullScreenElement && m_fullScreenElement->isDescendantOf(this)) {
         m_fullScreenElement->setNeedsStyleRecalc();
-        scheduleStyleRecalc();
+        scheduleForcedStyleRecalc();
     }
 
 #if USE(ACCELERATED_COMPOSITING)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to