Chromium Code Reviews| Index: sandbox/win/src/policy_target.cc |
| diff --git a/sandbox/win/src/policy_target.cc b/sandbox/win/src/policy_target.cc |
| index 84b72037db68117aa4106c9754ae448f9cb5953d..fb464cc0cb737a7940716f8553f9b99855126a11 100644 |
| --- a/sandbox/win/src/policy_target.cc |
| +++ b/sandbox/win/src/policy_target.cc |
| @@ -79,16 +79,6 @@ NTSTATUS WINAPI TargetNtSetInformationThread( |
| break; |
| if (ThreadImpersonationToken != thread_info_class) |
| break; |
| - if (!thread_information) |
| - break; |
| - HANDLE token; |
| - if (sizeof(token) > thread_information_bytes) |
| - break; |
| - |
| - NTSTATUS ret = CopyData(&token, thread_information, sizeof(token)); |
| - if (!NT_SUCCESS(ret) || NULL != token) |
| - break; |
| - |
|
cpu_(ooo_6.6-7.5)
2015/02/28 02:13:53
can you remind me of why this removal?
Shrikant Kelkar
2015/02/28 02:33:46
I forgot the exact number, but a call from wininet
|
| // This is a revert to self. |
| return STATUS_SUCCESS; |
| } while (false); |