Enable kEnableMojoJSProtectedMemory by default

This commit is contained in:
Carmelo Messina
2024-05-01 18:21:25 +02:00
parent d56d1582d7
commit a4cf5442d4
@@ -7,9 +7,17 @@ using the new flags on android
License: GPL-2.0-or-later - https://spdx.org/licenses/GPL-2.0-or-later.html
---
sandbox/policy/features.cc | 8 ++++++++
1 file changed, 8 insertions(+)
.../common/features_cc/Improve-the-browser-sandbox.inc | 1 +
sandbox/policy/features.cc | 8 ++++++++
2 files changed, 9 insertions(+)
create mode 100644 cromite_flags/third_party/blink/common/features_cc/Improve-the-browser-sandbox.inc
diff --git a/cromite_flags/third_party/blink/common/features_cc/Improve-the-browser-sandbox.inc b/cromite_flags/third_party/blink/common/features_cc/Improve-the-browser-sandbox.inc
new file mode 100644
--- /dev/null
+++ b/cromite_flags/third_party/blink/common/features_cc/Improve-the-browser-sandbox.inc
@@ -0,0 +1 @@
+SET_CROMITE_FEATURE_ENABLED(kEnableMojoJSProtectedMemory);
diff --git a/sandbox/policy/features.cc b/sandbox/policy/features.cc
--- a/sandbox/policy/features.cc
+++ b/sandbox/policy/features.cc