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

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

Issue 606443002: Remove implicit HANDLE conversions from sandbox. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
« no previous file with comments | « sandbox/win/src/handle_dispatcher.cc ('k') | sandbox/win/src/sync_policy_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sandbox/win/src/handle_policy_test.cc
diff --git a/sandbox/win/src/handle_policy_test.cc b/sandbox/win/src/handle_policy_test.cc
index 99b1717c2c3b1b3ac81d8374cad09342660a369a..11382da811f7e2fec1b3223148b6755f4a63e870 100644
--- a/sandbox/win/src/handle_policy_test.cc
+++ b/sandbox/win/src/handle_policy_test.cc
@@ -39,7 +39,7 @@ SBOX_TESTS_COMMAND int Handle_DuplicateEvent(int argc, wchar_t **argv) {
HANDLE handle = NULL;
ResultCode result = SandboxFactory::GetTargetServices()->DuplicateHandle(
- test_event, target_process_id, &handle, 0, DUPLICATE_SAME_ACCESS);
+ test_event.Get(), target_process_id, &handle, 0, DUPLICATE_SAME_ACCESS);
return (result == SBOX_ALL_OK) ? SBOX_TEST_SUCCEEDED : SBOX_TEST_DENIED;
}
« no previous file with comments | « sandbox/win/src/handle_dispatcher.cc ('k') | sandbox/win/src/sync_policy_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698