| Index: content/common/sandbox_win.cc
|
| diff --git a/content/common/sandbox_win.cc b/content/common/sandbox_win.cc
|
| index 68a00dd55908e07826be58616e45858e8d996cdd..593351661bc839b5e25dfecd65adb9a89642b866 100644
|
| --- a/content/common/sandbox_win.cc
|
| +++ b/content/common/sandbox_win.cc
|
| @@ -431,8 +431,8 @@ void CheckDuplicateHandle(HANDLE handle) {
|
| kDuplicateHandleWarning;
|
|
|
| if (0 == _wcsicmp(type_info->Name.Buffer, L"Process")) {
|
| - const ACCESS_MASK kDangerousMask = ~(PROCESS_QUERY_LIMITED_INFORMATION |
|
| - SYNCHRONIZE);
|
| + const ACCESS_MASK kDangerousMask =
|
| + ~static_cast<DWORD>(PROCESS_QUERY_LIMITED_INFORMATION | SYNCHRONIZE);
|
| CHECK(!(basic_info.GrantedAccess & kDangerousMask)) <<
|
| kDuplicateHandleWarning;
|
| }
|
|
|