mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-15 06:02:57 +03:00
browser(webkit): close context menu on Windows when closing page (#2825)
Review URL: 358fd983a9
This commit is contained in:
parent
6aef045fd4
commit
3dd09f04ef
@ -1,2 +1,2 @@
|
||||
1300
|
||||
Changed: lushnikov@chromium.org Wed Jul 2 12:02:52 PDT 2020
|
||||
1301
|
||||
Changed: lushnikov@chromium.org Thu Jul 2 15:14:04 PDT 2020
|
||||
|
@ -13742,7 +13742,7 @@ index 0000000000000000000000000000000000000000..135a60361fa8fbf907382625e7c8dd4e
|
||||
+
|
||||
+} // namespace WebKit
|
||||
diff --git a/Source/WebKit/UIProcess/win/WebContextMenuProxyWin.cpp b/Source/WebKit/UIProcess/win/WebContextMenuProxyWin.cpp
|
||||
index aa171f48bc40a96a86d951451b578f609c573fce..2a335dd6d0a8e2ce416acc940d66f177f6771f19 100644
|
||||
index aa171f48bc40a96a86d951451b578f609c573fce..c275d25f142ea265ef6b1805c7cfdc04aba758c0 100644
|
||||
--- a/Source/WebKit/UIProcess/win/WebContextMenuProxyWin.cpp
|
||||
+++ b/Source/WebKit/UIProcess/win/WebContextMenuProxyWin.cpp
|
||||
@@ -122,5 +122,11 @@ WebContextMenuProxyWin::~WebContextMenuProxyWin()
|
||||
@ -13752,7 +13752,7 @@ index aa171f48bc40a96a86d951451b578f609c573fce..2a335dd6d0a8e2ce416acc940d66f177
|
||||
+void WebContextMenuProxyWin::hide()
|
||||
+{
|
||||
+ if (m_menu)
|
||||
+ ::DestroyMenu(m_menu);
|
||||
+ ::EndMenu();
|
||||
+}
|
||||
+
|
||||
} // namespace WebKit
|
||||
|
Loading…
Reference in New Issue
Block a user