Skip to content

Commit cce62da

Browse files
authored
browser(webkit): roll to 06/03 (#6889)
1 parent fb0004c commit cce62da

File tree

5 files changed

+605
-620
lines changed

5 files changed

+605
-620
lines changed

browser_patches/webkit/BUILD_NUMBER

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
1492
2-
Changed: [email protected] Thu 03 Jun 2021 11:45:44 AM PDT
1+
1493
2+
Changed: [email protected] Thu 03 Jun 2021 03:46:28 PM PDT
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
REMOTE_URL="https://git.webkit.org/git/WebKit.git"
22
BASE_BRANCH="master"
3-
BASE_REVISION="92cb2e2c458a415ea246c0e69f63a04435ba269e"
3+
BASE_REVISION="bb7adf2388696725912768e008939800b8dffe1d"

browser_patches/webkit/embedder/Playwright/win/Common.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
#include "PlaywrightReplace.h"
3535
#include <dbghelp.h>
3636
#include <shlobj.h>
37-
#include <wtf/Optional.h>
3837
#include <wtf/StdLibExtras.h>
3938
#include <vector>
4039

@@ -122,7 +121,7 @@ void createCrashReport(EXCEPTION_POINTERS* exceptionPointers)
122121
}
123122
}
124123

125-
Optional<Credential> askCredential(HWND hwnd, const std::wstring& realm)
124+
std::optional<Credential> askCredential(HWND hwnd, const std::wstring& realm)
126125
{
127126
struct AuthDialog : public Dialog {
128127
std::wstring realm;
@@ -146,7 +145,7 @@ Optional<Credential> askCredential(HWND hwnd, const std::wstring& realm)
146145

147146
if (dialog.run(hInst, hwnd, IDD_AUTH))
148147
return dialog.credential;
149-
return WTF::nullopt;
148+
return std::nullopt;
150149
}
151150

152151
bool askServerTrustEvaluation(HWND hwnd, const std::wstring& text)

browser_patches/webkit/embedder/Playwright/win/Common.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
#include <WebKit/WKRetainPtr.h>
3030
#include <WebKit/WKString.h>
3131
#include <WebKit/WKURL.h>
32-
#include <wtf/Optional.h>
3332

3433
struct CommandLineOptions {
3534
bool useFullDesktop { };
@@ -55,7 +54,7 @@ void computeFullDesktopFrame();
5554
bool getAppDataFolder(_bstr_t& directory);
5655
CommandLineOptions parseCommandLine();
5756
void createCrashReport(EXCEPTION_POINTERS*);
58-
Optional<Credential> askCredential(HWND, const std::wstring& realm);
57+
std::optional<Credential> askCredential(HWND, const std::wstring& realm);
5958

6059
bool askServerTrustEvaluation(HWND, const std::wstring& text);
6160
std::wstring replaceString(std::wstring src, const std::wstring& oldValue, const std::wstring& newValue);

0 commit comments

Comments
 (0)