| 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))) {
|
|
|