From: Thibault Saunier Date: Thu, 15 Apr 2021 18:06:59 +0000 (-0400) Subject: wpe: Remove code targeting WebKit < 2.24 X-Git-Tag: 1.19.3~507^2~512 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a6c591b3396c6fc0c96a22658d54c915504bc091;p=platform%2Fupstream%2Fgstreamer.git wpe: Remove code targeting WebKit < 2.24 We already depend on wk >= 2.24 Part-of: --- diff --git a/ext/wpe/WPEThreadedView.cpp b/ext/wpe/WPEThreadedView.cpp index b2c81da..051d103 100644 --- a/ext/wpe/WPEThreadedView.cpp +++ b/ext/wpe/WPEThreadedView.cpp @@ -509,14 +509,10 @@ void WPEView::loadData(GBytes* bytes) void WPEView::setDrawBackground(gboolean drawsBackground) { -#if WEBKIT_CHECK_VERSION(2, 24, 0) GST_DEBUG("%s background rendering", drawsBackground ? "Enabling" : "Disabling"); WebKitColor color; webkit_color_parse(&color, drawsBackground ? "white" : "transparent"); webkit_web_view_set_background_color(webkit.view, &color); -#else - GST_FIXME("webkit_web_view_set_background_color is not implemented in WPE %u.%u. Please upgrade to 2.24", webkit_get_major_version(), webkit_get_minor_version()); -#endif } void WPEView::releaseImage(gpointer imagePointer)