Skip to content

Commit

Permalink
Merge r225267 - REGRESSION(r218064): [GTK] Broke entering fullscreen …
Browse files Browse the repository at this point in the history
…mode in debug builds

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

Reviewed by Carlos Garcia Campos.

These assertions need to be swapped. Fixes /webkit2/WebKitWebView/fullscreen in debug mode.

* UIProcess/API/gtk/WebKitWebViewBase.cpp:
(webkitWebViewBaseEnterFullScreen):
(webkitWebViewBaseExitFullScreen):
  • Loading branch information
mcatanzaro authored and carlosgcampos committed Dec 19, 2017
1 parent 3b54132 commit 01c0e2a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
13 changes: 13 additions & 0 deletions Source/WebKit/ChangeLog
@@ -1,3 +1,16 @@
2017-11-29 Michael Catanzaro <mcatanzaro@igalia.com>

REGRESSION(r218064): [GTK] Broke entering fullscreen mode in debug builds
https://bugs.webkit.org/show_bug.cgi?id=180120

Reviewed by Carlos Garcia Campos.

These assertions need to be swapped. Fixes /webkit2/WebKitWebView/fullscreen in debug mode.

* UIProcess/API/gtk/WebKitWebViewBase.cpp:
(webkitWebViewBaseEnterFullScreen):
(webkitWebViewBaseExitFullScreen):

2017-12-02 Carlos Garcia Campos <cgarcia@igalia.com>

WebDriver: handle user prompts shown while executing scripts
Expand Down
4 changes: 2 additions & 2 deletions Source/WebKit/UIProcess/API/gtk/WebKitWebViewBase.cpp
Expand Up @@ -1306,7 +1306,7 @@ void webkitWebViewBaseEnterFullScreen(WebKitWebViewBase* webkitWebViewBase)
{
#if ENABLE(FULLSCREEN_API)
WebKitWebViewBasePrivate* priv = webkitWebViewBase->priv;
ASSERT(priv->fullScreenModeActive);
ASSERT(!priv->fullScreenModeActive);

WebFullScreenManagerProxy* fullScreenManagerProxy = priv->pageProxy->fullScreenManager();
fullScreenManagerProxy->willEnterFullScreen();
Expand All @@ -1324,7 +1324,7 @@ void webkitWebViewBaseExitFullScreen(WebKitWebViewBase* webkitWebViewBase)
{
#if ENABLE(FULLSCREEN_API)
WebKitWebViewBasePrivate* priv = webkitWebViewBase->priv;
ASSERT(!priv->fullScreenModeActive);
ASSERT(priv->fullScreenModeActive);

WebFullScreenManagerProxy* fullScreenManagerProxy = priv->pageProxy->fullScreenManager();
fullScreenManagerProxy->willExitFullScreen();
Expand Down

0 comments on commit 01c0e2a

Please sign in to comment.