From 142e5859c1393eedbdb19869ae0adbd7f95be51f Mon Sep 17 00:00:00 2001 From: Yury Semikhatsky Date: Mon, 4 May 2020 13:06:11 -0700 Subject: [PATCH] browser(webkit): GTK build fix (#2096) --- browser_patches/webkit/BUILD_NUMBER | 2 +- browser_patches/webkit/patches/bootstrap.diff | 12 ------------ 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/browser_patches/webkit/BUILD_NUMBER b/browser_patches/webkit/BUILD_NUMBER index ab6c70d811e29..5cc3b964ed312 100644 --- a/browser_patches/webkit/BUILD_NUMBER +++ b/browser_patches/webkit/BUILD_NUMBER @@ -1 +1 @@ -1217 +1218 diff --git a/browser_patches/webkit/patches/bootstrap.diff b/browser_patches/webkit/patches/bootstrap.diff index 486f1aeda5fbf..82888151aba65 100644 --- a/browser_patches/webkit/patches/bootstrap.diff +++ b/browser_patches/webkit/patches/bootstrap.diff @@ -7366,18 +7366,6 @@ index a68a30983f609d925b45ee16fbe34110b6cabe95..533f45fe6810509b8a0e1823087011a8 WebKitWebViewBase* webkitWebViewBase = WEBKIT_WEB_VIEW_BASE(m_viewWidget); webkitWebViewBaseForwardNextKeyEvent(webkitWebViewBase); -diff --git a/Source/WebKit/UIProcess/API/gtk/PageClientImpl.h b/Source/WebKit/UIProcess/API/gtk/PageClientImpl.h -index cdd7cddbdc80396a3aab27fa2f843a7f70dddf7b..63831839686f86a4ef0fed7b415d4e84d92ec833 100644 ---- a/Source/WebKit/UIProcess/API/gtk/PageClientImpl.h -+++ b/Source/WebKit/UIProcess/API/gtk/PageClientImpl.h -@@ -98,6 +98,7 @@ private: - RefPtr createDataListSuggestionsDropdown(WebPageProxy&) override; - #endif - void selectionDidChange() override; -+ String takeSnapshotForAutomation() override { return String(); } - RefPtr takeViewSnapshot(Optional&&) override; - #if ENABLE(DRAG_SUPPORT) - void startDrag(Ref&&, WebCore::DragOperation, RefPtr&& dragImage) override; diff --git a/Source/WebKit/UIProcess/API/gtk/WebKitBrowserInspector.h b/Source/WebKit/UIProcess/API/gtk/WebKitBrowserInspector.h new file mode 100644 index 0000000000000000000000000000000000000000..a51cfebc270ca5a91cd94645eeeb005ba9a67caf