Title: [118211] trunk/Source/WebKit2
Revision
118211
Author
jer.no...@apple.com
Date
2012-05-23 11:31:23 -0700 (Wed, 23 May 2012)

Log Message

REGRESSION (r116188): After exiting full screen, Safari window is frozen, then inline video speeds through frames as it catches up with audio
https://bugs.webkit.org/show_bug.cgi?id=87206

Reviewed by Darin Adler.

When re-enabling the Safari window's autodisplay flag, also force the window to re-display.
Otherwise, the window will not repaint itself until it is forced to by user interaction.

* UIProcess/mac/WKFullScreenWindowController.mm:
(-[WKFullScreenWindowController completeFinishExitFullScreenAnimationAfterRepaint]):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (118210 => 118211)


--- trunk/Source/WebKit2/ChangeLog	2012-05-23 18:29:55 UTC (rev 118210)
+++ trunk/Source/WebKit2/ChangeLog	2012-05-23 18:31:23 UTC (rev 118211)
@@ -1,3 +1,16 @@
+2012-05-23  Jer Noble  <jer.no...@apple.com>
+
+        REGRESSION (r116188): After exiting full screen, Safari window is frozen, then inline video speeds through frames as it catches up with audio
+        https://bugs.webkit.org/show_bug.cgi?id=87206
+
+        Reviewed by Darin Adler.
+
+        When re-enabling the Safari window's autodisplay flag, also force the window to re-display.
+        Otherwise, the window will not repaint itself until it is forced to by user interaction.
+
+        * UIProcess/mac/WKFullScreenWindowController.mm:
+        (-[WKFullScreenWindowController completeFinishExitFullScreenAnimationAfterRepaint]):
+
 2012-05-23  Martin Robinson  <mrobin...@igalia.com>
 
         [GTK] [WebKit2] Add an API to enable and disable composited layer indicators

Modified: trunk/Source/WebKit2/UIProcess/mac/WKFullScreenWindowController.mm (118210 => 118211)


--- trunk/Source/WebKit2/UIProcess/mac/WKFullScreenWindowController.mm	2012-05-23 18:29:55 UTC (rev 118210)
+++ trunk/Source/WebKit2/UIProcess/mac/WKFullScreenWindowController.mm	2012-05-23 18:31:23 UTC (rev 118211)
@@ -382,6 +382,7 @@
 - (void)completeFinishExitFullScreenAnimationAfterRepaint
 {
     [[_webView window] setAutodisplay:YES];
+    [[_webView window] displayIfNeeded];
     NSEnableScreenUpdates();
 }
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to