| Index: runtime/vm/virtual_memory_win.cc
|
| diff --git a/runtime/vm/virtual_memory_win.cc b/runtime/vm/virtual_memory_win.cc
|
| index 25846136a996007789204103b8fc3aba808b33ed..de9156ddedb495fb10e171542647d738da080c62 100644
|
| --- a/runtime/vm/virtual_memory_win.cc
|
| +++ b/runtime/vm/virtual_memory_win.cc
|
| @@ -90,9 +90,7 @@ bool VirtualMemory::Protect(void* address, intptr_t size, Protection mode) {
|
| }
|
| DWORD old_prot = 0;
|
| bool result = VirtualProtect(reinterpret_cast<void*>(page_address),
|
| - end_address - page_address,
|
| - prot,
|
| - &old_prot);
|
| + end_address - page_address, prot, &old_prot);
|
| return result;
|
| }
|
|
|
|
|