Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: bump chromium to 6d130075d378a64187360ba4e7820 (master) #24256

Merged
merged 80 commits into from Jul 14, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
80 commits
Select commit Hold shift + click to select a range
82674b4
chore: bump chromium in DEPS to 7fb9778894d73378bff51087ce869ea5aa6e5d5d
electron-bot Jun 23, 2020
a8d0665
chore: bump chromium in DEPS to 83da426e53d423f0530fc23433b6d2c4d0548442
electron-bot Jun 24, 2020
8a26347
update patches
loc Jun 25, 2020
f975f84
remove chromeos-only TtsControllerDelegate
loc Jun 25, 2020
5857126
SharedUserScriptMaster -> SharedUserScriptManager
loc Jun 25, 2020
ef2f54d
avoid deprecated DISALLOW_COPY_AND_ASSIGN
loc Jun 25, 2020
348b9af
chore: bump chromium in DEPS to b2eaf9ff4e6b03267bf279583ea20ceb2b25e9d0
electron-bot Jun 25, 2020
450e546
update patches
loc Jun 25, 2020
014b487
rename GetHighContrastColorScheme -> GetPlatformHighContrastColorScheme
loc Jun 25, 2020
ca49ae5
remove vulkan info collection
loc Jun 25, 2020
2c3b94f
add max_xcode_version build var
loc Jun 26, 2020
4b0d844
add missing headers
loc Jun 26, 2020
29184b0
chore: bump chromium in DEPS to cded18ca1138f7e8efc904f077ddcca34f0135cf
electron-bot Jun 26, 2020
c8c4797
update patches
loc Jun 26, 2020
3cdaae1
add empty floc blocklist to BrowserProcessImpl
loc Jun 26, 2020
e1a1d03
chore: bump chromium in DEPS to f06602226cd80bf677b2ce013a94a2fb7f6ac58d
electron-bot Jun 27, 2020
8a29f70
chore: bump chromium in DEPS to 747aa4bfc74fc6cf7f08ee72624cd69ae41ae28d
electron-bot Jun 28, 2020
5513932
chore: bump chromium in DEPS to 31c0105e50fcc4e94de33e5c8602c755ace4a32b
electron-bot Jun 29, 2020
8553f5b
chore: update patches
deepak1556 Jun 29, 2020
1407040
Reland "[base] Stop including check.h, notreached.h, etc. in logging.h"
deepak1556 Jun 29, 2020
ede6787
X11 and Ozone: make sure gfx::AcceleratedWidget to be uint32_t
deepak1556 Jun 29, 2020
e0d6dbc
Move zygote from //services/service_manager back to //content
deepak1556 Jun 29, 2020
e2c6832
chore: update v8 patches
deepak1556 Jun 29, 2020
72b6f11
[XProto] Remove usage of Shape extension
deepak1556 Jun 29, 2020
07b0b65
fixup! add empty floc blocklist to BrowserProcessImpl
deepak1556 Jun 29, 2020
841b71c
Require macOS 10.15.1 sdk
deepak1556 Jun 30, 2020
188709a
Use newer Xcode version 11.5.0
MarshallOfSound Jun 30, 2020
af79be8
update src cache
deepak1556 Jun 30, 2020
7bce721
chore: bump chromium in DEPS to 60a9883e35db3f6f91916f0878e88e1849c17b11
electron-bot Jun 30, 2020
97b84cc
chore: update patches
deepak1556 Jun 30, 2020
8101d95
Reland "Reland "New toolchain for Windows 10 19041 SDK""
Jun 30, 2020
ef66b3f
update patches
Jun 30, 2020
96fdd12
Convert raw NonClientFrameViews to unique_ptrs
deepak1556 Jun 30, 2020
64f2363
[printing] Move PrintHostMsg_DidPreviewDocument_Params to print.mojom
deepak1556 Jun 30, 2020
d0bf5c5
chore: bump chromium in DEPS to 12c233c2a85bfa28fb279f390121ba681e52a71b
electron-bot Jul 1, 2020
a1d31f7
chore: update patches
deepak1556 Jul 2, 2020
64b43f5
Removing oppressive language for the directory chrome/browser/apps
deepak1556 Jul 2, 2020
ed3e1b6
Inclusion: rename SpellcheckLanguageBlacklistPolicyHandler
deepak1556 Jul 2, 2020
a35497d
Clean up duplicate WebContents "is fullscreen" functions
deepak1556 Jul 2, 2020
865e335
Adds icon loading service with sandbox for Windows.
deepak1556 Jul 2, 2020
10503c7
No more Vulkan info collection for UMA on Windows
deepak1556 Jul 2, 2020
b33c113
fix lint
deepak1556 Jul 2, 2020
611f91b
chore: update buildflag conditions
deepak1556 Jul 2, 2020
2d0cd32
chore: bump chromium in DEPS to a837d4c4230ace4f10b2768728f4044b7995dfa5
electron-bot Jul 2, 2020
8b2d86c
update hunspell files
deepak1556 Jul 2, 2020
fd123df
chore: update patches
deepak1556 Jul 2, 2020
bbfefd4
Make content::FileSelectListener a RefCounted
deepak1556 Jul 2, 2020
8cdf201
fix build failures on MAS
deepak1556 Jul 2, 2020
02b386b
update patches
Jul 2, 2020
f91c1ab
fixup! Reland "[base] Stop including check.h, notreached.h, etc. in l…
deepak1556 Jul 2, 2020
d8b2ec8
fix build on windows
deepak1556 Jul 2, 2020
3d45d7b
Check for GDI exhaustion if window creation fails
deepak1556 Jul 2, 2020
55581a5
chore: bump chromium in DEPS to 2c9b2a73be4ef9ec22d8b6da8e174cb80753f125
electron-bot Jul 3, 2020
01abab2
chore: update patches
deepak1556 Jul 4, 2020
d59326a
Network Service: Move DeleteCookiePredicate into public folder
deepak1556 Jul 4, 2020
ac9139b
chore: bump chromium in DEPS to fa2606299bcc02c362528d26b5dcf8c8a0db0735
electron-bot Jul 4, 2020
b34d907
chore: bump chromium in DEPS to d9c235d1227204dbae3708daae851573a3566b94
electron-bot Jul 5, 2020
505314f
chore: bump chromium in DEPS to 2f82c284243c035f49a747fd1ead6c44b4b31093
electron-bot Jul 6, 2020
80ade64
chore: update patches
deepak1556 Jul 6, 2020
cc2a45f
Move creating the LayerTreeSettings into blink.
deepak1556 Jul 6, 2020
0f7e48c
chore: bump chromium in DEPS to 914112f1d9af9e4974059dc403da62699a55550f
electron-bot Jul 7, 2020
6db5825
update patches
Jul 7, 2020
68447ba
chore: bump chromium in DEPS to e0bc1ffae6393fc543a2da94c88167df75859b36
electron-bot Jul 8, 2020
004e29a
refactor: match upstream print preview handling (#24452)
codebytere Jul 8, 2020
69e7726
update patches
nornagon Jul 8, 2020
36f6768
Merge remote-tracking branch 'origin/master' into roller/chromium/master
nornagon Jul 8, 2020
f67cb50
chore: bump chromium in DEPS to 0881423156abe084164b51ab58ce93a8bd380524
electron-bot Jul 9, 2020
e7875bb
update patches
nornagon Jul 9, 2020
d482f1e
update patches
Jul 9, 2020
5cc80d6
give a type to pendingPromise
nornagon Jul 9, 2020
f8b08ad
chore: bump chromium in DEPS to 11a8c1534b16d130075d378a64187360ba4e7820
electron-bot Jul 9, 2020
516e041
update patches
Jul 9, 2020
a7e2281
2272609: Move //services/service_manager/sandbox to //sandbox/policy.
nornagon Jul 9, 2020
d38a515
update patches
Jul 9, 2020
eda4f96
fixup! 2272609: Move //services/service_manager/sandbox to //sandbox/…
nornagon Jul 9, 2020
3822221
fixup! 2272609: Move //services/service_manager/sandbox to //sandbox/…
nornagon Jul 9, 2020
a25ac14
2264511: Cookies: Update SetCanonicalCookie to return CookieAccessResult
nornagon Jul 9, 2020
1dce5f2
chore: fix setAlwaysOnTop test
MarshallOfSound Jul 9, 2020
381c995
Revert "Migrate modules/desktop_capture and modules/video_capture to …
Jul 13, 2020
7af0947
update patches
Jul 13, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
24 changes: 12 additions & 12 deletions .circleci/config.yml
Expand Up @@ -77,12 +77,12 @@ machine-linux-2xlarge: &machine-linux-2xlarge

machine-mac: &machine-mac
macos:
xcode: "11.1.0"
xcode: "11.5.0"

machine-mac-large: &machine-mac-large
resource_class: large
macos:
xcode: "11.1.0"
xcode: "11.5.0"

# Build configurations options.
env-testing-build: &env-testing-build
Expand Down Expand Up @@ -812,7 +812,7 @@ step-touch-sync-done: &step-touch-sync-done
step-maybe-restore-src-cache: &step-maybe-restore-src-cache
restore_cache:
keys:
- v7-src-cache-{{ checksum "src/electron/.depshash" }}
- v8-src-cache-{{ checksum "src/electron/.depshash" }}
name: Restoring src cache

# Restore exact or closest git cache based on the hash of DEPS and .circle-sync-done
Expand Down Expand Up @@ -890,8 +890,8 @@ step-minimize-workspace-size-from-checkout: &step-minimize-workspace-size-from-c
step-save-src-cache: &step-save-src-cache
save_cache:
paths:
- /portal
key: v7-src-cache-{{ checksum "/portal/src/electron/.depshash" }}
- /var/portal
key: v8-src-cache-{{ checksum "/var/portal/src/electron/.depshash" }}
name: Persisting src cache

# Check for doc only change
Expand Down Expand Up @@ -1019,9 +1019,9 @@ steps-checkout-and-save-cache: &steps-checkout-and-save-cache
- run:
name: Move src folder to the cross-OS portal
command: |
sudo mkdir -p /portal
sudo chown -R $(id -u):$(id -g) /portal
mv ./src /portal
sudo mkdir -p /var/portal
sudo chown -R $(id -u):$(id -g) /var/portal
mv ./src /var/portal
- *step-save-src-cache

steps-electron-gn-check: &steps-electron-gn-check
Expand Down Expand Up @@ -1230,16 +1230,16 @@ commands:
- run:
name: Prepare for cross-OS sync restore
command: |
sudo mkdir -p /portal
sudo chown -R $(id -u):$(id -g) /portal
sudo mkdir -p /var/portal
sudo chown -R $(id -u):$(id -g) /var/portal
- *step-maybe-restore-src-cache
- run:
name: Fix the src cache restore point on macOS
command: |
if [ -d "/portal/src" ]; then
if [ -d "/var/portal/src" ]; then
echo Relocating Cache
rm -rf src
mv /portal/src ./
mv /var/portal/src ./
fi
checkout-from-cache:
steps:
Expand Down
7 changes: 5 additions & 2 deletions DEPS
Expand Up @@ -8,12 +8,13 @@ gclient_gn_args = [
'checkout_pgo_profiles',
'checkout_oculus_sdk',
'checkout_openxr',
'checkout_google_benchmark'
'checkout_google_benchmark',
'mac_xcode_version',
]

vars = {
'chromium_version':
'9ae03ef8f7d4f6ac663f725bcfe70311987652f3',
'17d931b6d2190fac716f92a66c7578fa4db6501a',
'node_version':
'v12.18.2',
'nan_version':
Expand Down Expand Up @@ -54,6 +55,8 @@ vars = {
# Python "requests" module is used for releases only.
'checkout_requests': False,

'mac_xcode_version': 'default',

# To allow running hooks without parsing the DEPS tree
'process_deps': True,

Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Expand Up @@ -29,7 +29,7 @@

version: 1.0.{build}
build_cloud: electron-16-core
image: vs2019bt-16.4.0
image: vs2019bt-16.6.2
environment:
GIT_CACHE_PATH: C:\Users\electron\libcc_cache
ELECTRON_OUT_DIR: Default
Expand Down
19 changes: 10 additions & 9 deletions chromium_src/BUILD.gn
Expand Up @@ -93,6 +93,14 @@ static_library("chrome") {
]
}

if (is_win) {
sources += [
"//chrome/browser/win/icon_reader_service.cc",
"//chrome/browser/win/icon_reader_service.h",
]
public_deps += [ "//chrome/services/util_win:lib" ]
}

if (enable_desktop_capturer) {
sources += [
"//chrome/browser/media/webrtc/desktop_media_list.h",
Expand Down Expand Up @@ -153,13 +161,6 @@ static_library("chrome") {
}
}

if (enable_tts) {
sources += [
"//chrome/browser/speech/tts_controller_delegate_impl.cc",
"//chrome/browser/speech/tts_controller_delegate_impl.h",
]
}

if (enable_widevine) {
sources += [
"//chrome/renderer/media/chrome_key_systems.cc",
Expand Down Expand Up @@ -364,8 +365,8 @@ source_set("chrome_spellchecker") {
"//chrome/browser/spellchecker/spellcheck_factory.h",
"//chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc",
"//chrome/browser/spellchecker/spellcheck_hunspell_dictionary.h",
"//chrome/browser/spellchecker/spellcheck_language_blacklist_policy_handler.cc",
"//chrome/browser/spellchecker/spellcheck_language_blacklist_policy_handler.h",
"//chrome/browser/spellchecker/spellcheck_language_blocklist_policy_handler.cc",
"//chrome/browser/spellchecker/spellcheck_language_blocklist_policy_handler.h",
"//chrome/browser/spellchecker/spellcheck_language_policy_handler.cc",
"//chrome/browser/spellchecker/spellcheck_language_policy_handler.h",
"//chrome/browser/spellchecker/spellcheck_service.cc",
Expand Down
9 changes: 6 additions & 3 deletions docs/api/web-contents.md
Expand Up @@ -1371,19 +1371,22 @@ An example of `webContents.printToPDF`:
```javascript
const { BrowserWindow } = require('electron')
const fs = require('fs')
const path = require('path')
const os = require('os')

let win = new BrowserWindow({ width: 800, height: 600 })
win.loadURL('http://github.com')

win.webContents.on('did-finish-load', () => {
// Use default printing options
win.webContents.printToPDF({}).then(data => {
fs.writeFile('/tmp/print.pdf', data, (error) => {
const pdfPath = path.join(os.homedir(), 'Desktop', 'temp.pdf')
fs.writeFile(pdfPath, data, (error) => {
if (error) throw error
console.log('Write PDF successfully.')
console.log(`Wrote PDF successfully to ${pdfPath}`)
})
}).catch(error => {
console.log(error)
console.log(`Failed to write PDF to ${pdfPath}: `, error)
})
})
```
Expand Down
5 changes: 5 additions & 0 deletions electron_strings.grdp
Expand Up @@ -75,4 +75,9 @@
<message name="IDS_ACCEPT_LANGUAGES" use_name_for_id="true">
en-US,en
</message>
<if expr="is_win">
<message name="IDS_UTILITY_PROCESS_UTILITY_WIN_NAME" desc="The name of the utility process used to handle Windows utility operations.">
Windows Utilities
</message>
</if>
</grit-part>
1 change: 1 addition & 0 deletions filenames.hunspell.gni
Expand Up @@ -10,6 +10,7 @@ hunspell_dictionaries = [
"//third_party/hunspell_dictionaries/en-AU-9-0.bdic",
"//third_party/hunspell_dictionaries/en-CA-9-0.bdic",
"//third_party/hunspell_dictionaries/en-GB-9-0.bdic",
"//third_party/hunspell_dictionaries/en-GB-oxendict-9-0.bdic",
"//third_party/hunspell_dictionaries/en-US-9-0.bdic",
"//third_party/hunspell_dictionaries/es-ES-3-0.bdic",
"//third_party/hunspell_dictionaries/et-EE-3-0.bdic",
Expand Down
11 changes: 9 additions & 2 deletions lib/browser/api/web-contents.ts
Expand Up @@ -212,7 +212,9 @@ WebContents.prototype.executeJavaScriptInIsolatedWorld = async function (worldId
};

// Translate the options of printToPDF.
WebContents.prototype.printToPDF = function (options) {

let pendingPromise: Promise<any> | undefined;
WebContents.prototype.printToPDF = async function (options) {
const printSettings = {
...defaultPrintingSetting,
requestID: getNextId()
Expand Down Expand Up @@ -338,7 +340,12 @@ WebContents.prototype.printToPDF = function (options) {
// PrinterType enum from //printing/print_job_constants.h
printSettings.printerType = 2;
if (this._printToPDF) {
return this._printToPDF(printSettings);
if (pendingPromise) {
pendingPromise = pendingPromise.then(() => this._printToPDF(printSettings));
} else {
pendingPromise = this._printToPDF(printSettings);
}
return pendingPromise;
} else {
const error = new Error('Printing feature is disabled');
return Promise.reject(error);
Expand Down
6 changes: 1 addition & 5 deletions patches/chromium/.patches
Expand Up @@ -44,7 +44,6 @@ notification_provenance.patch
content_browser_main_loop.patch
dump_syms.patch
command-ismediakey.patch
tts.patch
printing.patch
support_mixed_sandbox_with_zygote.patch
fix_disable_usage_of_abort_report_np_in_mas_builds.patch
Expand Down Expand Up @@ -84,7 +83,6 @@ delay_lock_the_protocol_scheme_registry.patch
gpu_notify_when_dxdiag_request_fails.patch
feat_allow_embedders_to_add_observers_on_created_hunspell.patch
feat_add_onclose_to_messageport.patch
fix_account_for_print_preview_disabled_when_printing_to_pdf.patch
web_contents.patch
ui_gtk_public_header.patch
refactor_expose_cursor_changes_to_the_webcontentsobserver.patch
Expand All @@ -95,8 +93,6 @@ breakpad_allow_getting_string_values_for_crash_keys.patch
crash_allow_disabling_compression_on_linux.patch
allow_setting_secondary_label_via_simplemenumodel.patch
disable_unnecessary_ischromefirstrun_check.patch
disable_dcheck_that_fails_with_software_compositing.patch
fix_swap_global_proxies_before_initializing_the_windows_proxies.patch
feat_add_streaming-protocol_registry_to_multibuffer_data_source.patch
fix_handling_non_client_pointer_events_from_pen_on_windows_10.patch
remove_menu_window_task_item.patch
use_electron_resources_in_icon_reader_service.patch
Expand Up @@ -10,7 +10,7 @@ Allows Electron to restore WER when ELECTRON_DEFAULT_ERROR_MODE is set.
This should be upstreamed.

diff --git a/content/gpu/gpu_main.cc b/content/gpu/gpu_main.cc
index b502af8bb93dd45b5de046850f69ef34f9d04732..a6c84cd7909c6a1c70f3f4b5bd65531bf26f1a94 100644
index 1a2c3b6a910c24b7d124ea1b3180a3c9655580d8..e6795df82114e85cbda78ca89ca0716f963ba180 100644
--- a/content/gpu/gpu_main.cc
+++ b/content/gpu/gpu_main.cc
@@ -255,6 +255,10 @@ int GpuMain(const MainFunctionParams& parameters) {
Expand All @@ -24,7 +24,7 @@ index b502af8bb93dd45b5de046850f69ef34f9d04732..a6c84cd7909c6a1c70f3f4b5bd65531b
// We are experiencing what appear to be memory-stomp issues in the GPU
// process. These issues seem to be impacting the task executor and listeners
// registered to it. Create the task executor on the heap to guard against
@@ -373,7 +377,6 @@ int GpuMain(const MainFunctionParams& parameters) {
@@ -389,7 +393,6 @@ int GpuMain(const MainFunctionParams& parameters) {
}
#endif

Expand Down
28 changes: 14 additions & 14 deletions patches/chromium/add_didinstallconditionalfeatures.patch
Expand Up @@ -10,7 +10,7 @@ DidCreateScriptContext is called, not all JS APIs are available in the
context, which can cause some preload scripts to trip.

diff --git a/content/public/renderer/render_frame_observer.h b/content/public/renderer/render_frame_observer.h
index 4e195f960d7b9bf50f6784ce380a84a10867914f..dbf85ffe8504bdbab1c4c29f085e5307654d42f6 100644
index 3e059605c55d88d52cf2544d6aca3446efee5750..398229becb8fd00022b08cc6afed7d1875766e25 100644
--- a/content/public/renderer/render_frame_observer.h
+++ b/content/public/renderer/render_frame_observer.h
@@ -115,6 +115,8 @@ class CONTENT_EXPORT RenderFrameObserver : public IPC::Listener,
Expand All @@ -23,10 +23,10 @@ index 4e195f960d7b9bf50f6784ce380a84a10867914f..dbf85ffe8504bdbab1c4c29f085e5307
int32_t world_id) {}
virtual void DidClearWindowObject() {}
diff --git a/content/renderer/render_frame_impl.cc b/content/renderer/render_frame_impl.cc
index 0cb96dd693459a9747aa1e2c46c5257df510211a..010ed22b5da75c445b777bd0db503b268c7a767f 100644
index c9e8e396135befdd67549326daa2ef5c2339f418..1df3376ca5a8fefc926634c197a8bf043a4f3897 100644
--- a/content/renderer/render_frame_impl.cc
+++ b/content/renderer/render_frame_impl.cc
@@ -4745,6 +4745,12 @@ void RenderFrameImpl::DidCreateScriptContext(v8::Local<v8::Context> context,
@@ -4796,6 +4796,12 @@ void RenderFrameImpl::DidCreateScriptContext(v8::Local<v8::Context> context,
observer.DidCreateScriptContext(context, world_id);
}

Expand All @@ -40,10 +40,10 @@ index 0cb96dd693459a9747aa1e2c46c5257df510211a..010ed22b5da75c445b777bd0db503b26
int world_id) {
for (auto& observer : observers_)
diff --git a/content/renderer/render_frame_impl.h b/content/renderer/render_frame_impl.h
index b1465918040a8eaafd5780aaf9fb6f870c9ea943..2fb7927168ac62c52d2e65942608dd9b73ac3133 100644
index eeac74bc62d6c276d31f714e5a1a024c9ec02838..cf6cfe870b63d675e16fc0e8b80914e19c796ae6 100644
--- a/content/renderer/render_frame_impl.h
+++ b/content/renderer/render_frame_impl.h
@@ -722,6 +722,8 @@ class CONTENT_EXPORT RenderFrameImpl
@@ -738,6 +738,8 @@ class CONTENT_EXPORT RenderFrameImpl
bool ShouldTrackUseCounter(const blink::WebURL& url) override;
void DidCreateScriptContext(v8::Local<v8::Context> context,
int world_id) override;
Expand All @@ -53,10 +53,10 @@ index b1465918040a8eaafd5780aaf9fb6f870c9ea943..2fb7927168ac62c52d2e65942608dd9b
int world_id) override;
void DidChangeScrollOffset() override;
diff --git a/third_party/blink/public/web/web_local_frame_client.h b/third_party/blink/public/web/web_local_frame_client.h
index 902504b8399c53fee972fe5549a4dbd39274a3c8..ddf6b6b696f7d990b7455ac6c9b8156a733b6c07 100644
index 54a40d9a90d1dbb13d8234494ab53893ca339ee4..aee9160cba302b394594debfbc8dd0e400efbb46 100644
--- a/third_party/blink/public/web/web_local_frame_client.h
+++ b/third_party/blink/public/web/web_local_frame_client.h
@@ -542,6 +542,9 @@ class BLINK_EXPORT WebLocalFrameClient {
@@ -546,6 +546,9 @@ class BLINK_EXPORT WebLocalFrameClient {
virtual void DidCreateScriptContext(v8::Local<v8::Context>,
int32_t world_id) {}

Expand All @@ -67,7 +67,7 @@ index 902504b8399c53fee972fe5549a4dbd39274a3c8..ddf6b6b696f7d990b7455ac6c9b8156a
virtual void WillReleaseScriptContext(v8::Local<v8::Context>,
int32_t world_id) {}
diff --git a/third_party/blink/renderer/bindings/core/v8/local_window_proxy.cc b/third_party/blink/renderer/bindings/core/v8/local_window_proxy.cc
index 5ac9a7ed3d0f91764452579992471c83104de64f..15ac214bc9177f2fc228cf93c459a7b385bdc582 100644
index 17ebe5efb8b0bfcf17eda69fe4373b61b213af72..b7296a900c04006812d5f01b05c46a223fb40dc2 100644
--- a/third_party/blink/renderer/bindings/core/v8/local_window_proxy.cc
+++ b/third_party/blink/renderer/bindings/core/v8/local_window_proxy.cc
@@ -201,6 +201,7 @@ void LocalWindowProxy::Initialize() {
Expand All @@ -79,10 +79,10 @@ index 5ac9a7ed3d0f91764452579992471c83104de64f..15ac214bc9177f2fc228cf93c459a7b3
if (World().IsMainWorld()) {
GetFrame()->Loader().DispatchDidClearWindowObjectInMainWorld();
diff --git a/third_party/blink/renderer/core/exported/local_frame_client_impl.cc b/third_party/blink/renderer/core/exported/local_frame_client_impl.cc
index ba02a164a799b2b9e92bbeeb2bff2a4a2fd7d662..42ed050d572b13f1302bfb9eb5b59b15ba5a6904 100644
index c586e0f7c21060f5f6a088631b5b0b9d57fad4eb..fc0fc331ecd535422eeb15bd831d64946edff3b2 100644
--- a/third_party/blink/renderer/core/exported/local_frame_client_impl.cc
+++ b/third_party/blink/renderer/core/exported/local_frame_client_impl.cc
@@ -349,6 +349,13 @@ void LocalFrameClientImpl::DidCreateScriptContext(
@@ -391,6 +391,13 @@ void LocalFrameClientImpl::DidCreateScriptContext(
web_frame_->Client()->DidCreateScriptContext(context, world_id);
}

Expand All @@ -97,7 +97,7 @@ index ba02a164a799b2b9e92bbeeb2bff2a4a2fd7d662..42ed050d572b13f1302bfb9eb5b59b15
v8::Local<v8::Context> context,
int32_t world_id) {
diff --git a/third_party/blink/renderer/core/exported/local_frame_client_impl.h b/third_party/blink/renderer/core/exported/local_frame_client_impl.h
index 183a009cf58399966c9002786ede3d540aa068cb..dbe445cf40ec53e4b36e4a323334662c70359a38 100644
index b21e7f5ba906d13045f38f986677106d35cc1d60..024188a4365261ba47ac200d15d8c0e52eb80a90 100644
--- a/third_party/blink/renderer/core/exported/local_frame_client_impl.h
+++ b/third_party/blink/renderer/core/exported/local_frame_client_impl.h
@@ -78,6 +78,8 @@ class CORE_EXPORT LocalFrameClientImpl final : public LocalFrameClient {
Expand All @@ -110,10 +110,10 @@ index 183a009cf58399966c9002786ede3d540aa068cb..dbe445cf40ec53e4b36e4a323334662c
int32_t world_id) override;

diff --git a/third_party/blink/renderer/core/frame/local_frame_client.h b/third_party/blink/renderer/core/frame/local_frame_client.h
index a8443a8bfc2542ffad472206214279c1223d493f..8c7a4dec19d6fbca615b7bc282b0388189eef886 100644
index 4c6f1b9decbc5292d8349816fbac88dfd22b4774..ab28222f6be19cfc78c410633d20dc8646f98a2c 100644
--- a/third_party/blink/renderer/core/frame/local_frame_client.h
+++ b/third_party/blink/renderer/core/frame/local_frame_client.h
@@ -297,6 +297,8 @@ class CORE_EXPORT LocalFrameClient : public FrameClient {
@@ -296,6 +296,8 @@ class CORE_EXPORT LocalFrameClient : public FrameClient {

virtual void DidCreateScriptContext(v8::Local<v8::Context>,
int32_t world_id) = 0;
Expand All @@ -123,7 +123,7 @@ index a8443a8bfc2542ffad472206214279c1223d493f..8c7a4dec19d6fbca615b7bc282b03881
int32_t world_id) = 0;
virtual bool AllowScriptExtensions() = 0;
diff --git a/third_party/blink/renderer/core/loader/empty_clients.h b/third_party/blink/renderer/core/loader/empty_clients.h
index a3797ca04ff968d67ce4c5da6b9f17abc1d7651d..e3f26a61cdc4042131ea58d744a9b487dd6f52ca 100644
index 006c575be0f9a33b0a5833b2d5d7bca6ca7fe2b0..d21901198b3b118b153ae2f77d071775c08574d4 100644
--- a/third_party/blink/renderer/core/loader/empty_clients.h
+++ b/third_party/blink/renderer/core/loader/empty_clients.h
@@ -336,6 +336,8 @@ class CORE_EXPORT EmptyLocalFrameClient : public LocalFrameClient {
Expand Down
2 changes: 1 addition & 1 deletion patches/chromium/add_realloc.patch
Expand Up @@ -39,7 +39,7 @@ index 2aef366ac8194aa261cbca6abc051f7da8a988d3..3c7d66c81032636abcca4f1538ce9b7f

GIN_EXPORT static ArrayBufferAllocator* SharedInstance();
diff --git a/third_party/blink/renderer/bindings/core/v8/v8_initializer.cc b/third_party/blink/renderer/bindings/core/v8/v8_initializer.cc
index fa88b2bd0233a4c5ff35a26d10e20fa1b91e33b2..21504ce01403d20067c8439c0c61ee0d71de84a5 100644
index 77724df403e7ec9f1995e62b8737cb1d46ce20b1..244412c9a52ba701b161d1391e5f3cfb73307afc 100644
--- a/third_party/blink/renderer/bindings/core/v8/v8_initializer.cc
+++ b/third_party/blink/renderer/bindings/core/v8/v8_initializer.cc
@@ -672,6 +672,10 @@ class ArrayBufferAllocator : public v8::ArrayBuffer::Allocator {
Expand Down