Index: sandbox/win/src/policy_target_test.cc |
diff --git a/sandbox/win/src/policy_target_test.cc b/sandbox/win/src/policy_target_test.cc |
index 4395a4f0d22a6803ec4c2b1d004b7fdbd2c778b2..bb1f0b2ba38fd2fb94c780c26715a42c74975e2d 100644 |
--- a/sandbox/win/src/policy_target_test.cc |
+++ b/sandbox/win/src/policy_target_test.cc |
@@ -376,8 +376,8 @@ TEST(PolicyTargetTest, ShareHandleTest) { |
GetModuleFileNameW(NULL, prog_name, MAX_PATH); |
TargetPolicy* policy = broker->CreatePolicy(); |
- void* shared_handle = policy->AddHandleToShare( |
- read_only_view.handle()); |
+ void* shared_handle = |
+ policy->AddHandleToShare(read_only_view.handle().GetHandle()); |
base::string16 arguments(L"\""); |
arguments += prog_name; |