mirror of
https://github.com/hanzoai/playwright.git
synced 2026-09-24 17:01:53 +00:00
chore: roll browser_patches (#41969)
roll `browser_patches` from `playwright-browsers` for the v1.62 release, pinned at the 6 weeks old snapshot (`d44b3cc26`).
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
REMOTE_URL="https://github.com/WebKit/WebKit.git"
|
||||
BASE_BRANCH="main"
|
||||
BASE_REVISION="343e13bf22dca9d0ec227801419aab0f9001a32f"
|
||||
BASE_REVISION="4d05d732e5a84f32675bef4cc135a2e7a9269a87"
|
||||
|
||||
@@ -40,6 +40,7 @@
|
||||
#include <wtf/win/SoftLinking.h>
|
||||
#include "WebKitBrowserWindow.h"
|
||||
#include <wtf/MainThread.h>
|
||||
#include <wtf/RunLoop.h>
|
||||
#include <WebKit/WKInspector.h>
|
||||
|
||||
SOFT_LINK_LIBRARY(user32);
|
||||
@@ -76,7 +77,6 @@ int WINAPI wWinMain(_In_ HINSTANCE hInstance, _In_opt_ HINSTANCE hPrevInstance,
|
||||
_CrtSetReportMode(_CRT_WARN, _CRTDBG_MODE_FILE);
|
||||
#endif
|
||||
|
||||
MSG msg { };
|
||||
HACCEL hAccelTable, hPreAccelTable;
|
||||
|
||||
INITCOMMONCONTROLSEX InitCtrlEx;
|
||||
@@ -143,17 +143,15 @@ int WINAPI wWinMain(_In_ HINSTANCE hInstance, _In_opt_ HINSTANCE hPrevInstance,
|
||||
|
||||
// Main message loop:
|
||||
__try {
|
||||
while (GetMessage(&msg, nullptr, 0, 0)) {
|
||||
RunLoop::setWindowsMessageHandler([hAccelTable, hPreAccelTable] (MSG& msg) {
|
||||
if (TranslateAccelerator(msg.hwnd, hPreAccelTable, &msg))
|
||||
continue;
|
||||
return true;
|
||||
bool processed = false;
|
||||
if (MainWindow::isInstance(msg.hwnd))
|
||||
processed = TranslateAccelerator(msg.hwnd, hAccelTable, &msg);
|
||||
if (!processed) {
|
||||
TranslateMessage(&msg);
|
||||
DispatchMessage(&msg);
|
||||
}
|
||||
}
|
||||
return processed;
|
||||
});
|
||||
RunLoop::run();
|
||||
} __except(createCrashReport(GetExceptionInformation()), EXCEPTION_EXECUTE_HANDLER) { }
|
||||
|
||||
exit:
|
||||
@@ -164,5 +162,5 @@ exit:
|
||||
// Shut down COM.
|
||||
OleUninitialize();
|
||||
|
||||
return static_cast<int>(msg.wParam);
|
||||
return 0;
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user