[webkit-changes] [WebKit/WebKit] 39559c: [GTK] gdk_memory_texture_new: assertion 'width > 0...
Michael Catanzaro
noreply at github.com
Thu Feb 1 07:45:50 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 39559cbd2d257dc88ed4d7119f110e7a6268f276
https://github.com/WebKit/WebKit/commit/39559cbd2d257dc88ed4d7119f110e7a6268f276
Author: Michael Catanzaro <mcatanzaro at redhat.com>
Date: 2024-02-01 (Thu, 01 Feb 2024)
Changed paths:
M Source/WebCore/platform/graphics/gtk/GdkCairoUtilities.cpp
M Source/WebKit/UIProcess/API/glib/WebKitFaviconDatabase.cpp
M Source/WebKit/UIProcess/API/glib/WebKitWebView.cpp
Log Message:
-----------
[GTK] gdk_memory_texture_new: assertion 'width > 0' failed in cairoSurfaceToGdkTexture
https://bugs.webkit.org/show_bug.cgi?id=252435
Reviewed by Carlos Garcia Campos.
If the cairo surface does not have positive width and height, we need to
not attempt to create a GdkTexture, and return a valid error.
* Source/WebCore/platform/graphics/gtk/GdkCairoUtilities.cpp:
(WebCore::cairoSurfaceToGdkTexture):
* Source/WebKit/UIProcess/API/glib/WebKitFaviconDatabase.cpp:
(webkit_favicon_database_get_favicon_finish):
* Source/WebKit/UIProcess/API/glib/WebKitWebView.cpp:
Canonical link: https://commits.webkit.org/273907@main
More information about the webkit-changes
mailing list