Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(835)

Unified Diff: sandbox/win/src/process_mitigations_test.cc

Issue 2043063002: DO NOT COMMIT - Unrelated changes made by run-clang-tidy.py (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@d_WE998_allwin
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: sandbox/win/src/process_mitigations_test.cc
diff --git a/sandbox/win/src/process_mitigations_test.cc b/sandbox/win/src/process_mitigations_test.cc
index 97636bcd84dcb7b1227efc4d6f875282c294fc3c..1689f37b0aa3166bebd8cd81299718008f698cc2 100644
--- a/sandbox/win/src/process_mitigations_test.cc
+++ b/sandbox/win/src/process_mitigations_test.cc
@@ -99,7 +99,7 @@ bool CheckWin8DllExtensionPolicy() {
bool CheckWin10FontPolicy() {
PROCESS_MITIGATION_FONT_DISABLE_POLICY policy = {};
if (!get_process_mitigation_policy(::GetCurrentProcess(),
- ProcessFontDisablePolicy, &policy,
+ ProcessDynamicCodePolicy, &policy,
sizeof(policy))) {
return false;
}
@@ -107,7 +107,7 @@ bool CheckWin10FontPolicy() {
}
bool CheckWin10ImageLoadNoRemotePolicy() {
- PROCESS_MITIGATION_IMAGE_LOAD_POLICY policy = {};
+ PROCESS_MITIGATION_ASLR_POLICY policy = {};
if (!get_process_mitigation_policy(::GetCurrentProcess(),
ProcessImageLoadPolicy, &policy,
sizeof(policy))) {
@@ -144,7 +144,7 @@ void TestWin10ImageLoadRemote(bool is_success_test) {
}
bool CheckWin10ImageLoadNoLowLabelPolicy() {
- PROCESS_MITIGATION_IMAGE_LOAD_POLICY policy = {};
+ PROCESS_MITIGATION_ASLR_POLICY policy = {};
if (!get_process_mitigation_policy(::GetCurrentProcess(),
ProcessImageLoadPolicy, &policy,
sizeof(policy))) {

Powered by Google App Engine
This is Rietveld 408576698