Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3412)

Unified Diff: sandbox/win/src/handle_interception.cc

Issue 382613002: Fixes for re-enabling more MSVC level 4 warnings: sandbox/ edition (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: sandbox/win/src/handle_interception.cc
diff --git a/sandbox/win/src/handle_interception.cc b/sandbox/win/src/handle_interception.cc
index af0bebca0451da0bb952a9c1a72cf595905245dc..a0df8d653d40d9facfb6e54d29a50bb722464f31 100644
--- a/sandbox/win/src/handle_interception.cc
+++ b/sandbox/win/src/handle_interception.cc
@@ -33,7 +33,7 @@ ResultCode DuplicateHandleProxy(HANDLE source_handle,
return code;
if (answer.win32_result) {
- ::SetLastError(answer.nt_status);
+ ::SetLastError(answer.win32_result);
return SBOX_ERROR_GENERIC;
}

Powered by Google App Engine
This is Rietveld 408576698