Commit 706b7eea authored by bfulgham@apple.com's avatar bfulgham@apple.com

[Win] Exiting from Media Full Screen mode via 'escape' key does not work properly

https://bugs.webkit.org/show_bug.cgi?id=125272

Reviewed by Jer Noble.

* WebView.cpp:
(WebView::fullScreenClientWillExitFullScreen): Change to webkitCancelFullScreen method call
to more closely match Media Control behavior.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160184 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 90ace0de
2013-12-04 Brent Fulgham <bfulgham@apple.com>
[Win] Exiting from Media Full Screen mode via 'escape' key does not work properly
https://bugs.webkit.org/show_bug.cgi?id=125272
Reviewed by Jer Noble.
* WebView.cpp:
(WebView::fullScreenClientWillExitFullScreen): Change to webkitCancelFullScreen method call
to more closely match Media Control behavior.
2013-12-04 Brian J. Burg <burg@cs.washington.edu>
Consolidate various frame snapshot capabilities.
......
......@@ -6955,7 +6955,7 @@ void WebView::fullScreenClientDidEnterFullScreen()
void WebView::fullScreenClientWillExitFullScreen()
{
ASSERT(m_fullScreenElement);
m_fullScreenElement->document().webkitWillExitFullScreenForElement(m_fullScreenElement.get());
m_fullScreenElement->document().webkitCancelFullScreen();
}
void WebView::fullScreenClientDidExitFullScreen()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment