| Index: win8/delegate_execute/delegate_execute_operation.cc
|
| diff --git a/win8/delegate_execute/delegate_execute_operation.cc b/win8/delegate_execute/delegate_execute_operation.cc
|
| index a4a61a12d6565cede265cdc06022601facc8c2c0..277b74b407b87a93d80cad9959dd265e9fdf9259 100644
|
| --- a/win8/delegate_execute/delegate_execute_operation.cc
|
| +++ b/win8/delegate_execute/delegate_execute_operation.cc
|
| @@ -51,15 +51,15 @@ bool DelegateExecuteOperation::Init(const base::CommandLine* cmd_line) {
|
| return true;
|
| }
|
|
|
| -DWORD DelegateExecuteOperation::GetParentPid() const {
|
| +base::Process DelegateExecuteOperation::GetParent() const {
|
| std::vector<base::string16> parts;
|
| base::SplitString(mutex_, L'.', &parts);
|
| if (parts.size() != 3)
|
| - return 0;
|
| + return base::Process();
|
| DWORD pid;
|
| if (!base::StringToUint(parts[2], reinterpret_cast<uint32*>(&pid)))
|
| - return 0;
|
| - return pid;
|
| + return base::Process();
|
| + return base::Process::Open(pid);
|
| }
|
|
|
| } // namespace delegate_execute
|
|
|