| Index: sandbox/win/src/sandbox_nt_util.h
|
| diff --git a/sandbox/win/src/sandbox_nt_util.h b/sandbox/win/src/sandbox_nt_util.h
|
| index e5d45fa2f2ae24060e46a19e1462c356c5c033a5..7c543f2ac30800ca9f5eba438ef99597ee61877e 100644
|
| --- a/sandbox/win/src/sandbox_nt_util.h
|
| +++ b/sandbox/win/src/sandbox_nt_util.h
|
| @@ -45,6 +45,8 @@ void __cdecl operator delete(void* memory, void* buffer,
|
| #define VERIFY_SUCCESS(action) (action)
|
| #endif
|
|
|
| +#define CHECK_NT(condition) { (condition) ? (void)0 : __debugbreak(); }
|
| +
|
| #define NOTREACHED_NT() DCHECK_NT(false)
|
|
|
| namespace sandbox {
|
| @@ -94,7 +96,6 @@ enum RequiredAccess {
|
| // write)
|
| bool ValidParameter(void* buffer, size_t size, RequiredAccess intent);
|
|
|
| -
|
| // Copies data from a user buffer to our buffer. Returns the operation status.
|
| NTSTATUS CopyData(void* destination, const void* source, size_t bytes);
|
|
|
|
|