commit | f71a0add64e543c7bb4cf59442b77ec5f3f6978e | [log] [tgz] |
---|---|---|
author | yoichio <yoichio@chromium.org> | Fri May 08 04:03:38 2015 |
committer | Commit bot <commit-bot@chromium.org> | Fri May 08 04:05:01 2015 |
tree | 05ccaf262defc0a0186d164c515650b1795f3567 | |
parent | b6dc7357d62efedaefaa11fb00cfc68eda649cec [diff] |
ExtensionFunctionDispatcher should use base::Process::Current() if single process mode. Since #323179, ExtensionFunctionDispatcher has used base::Process::DeprecatedGetProcessFromHandle to callback: https://chromium.googlesource.com/chromium/src/+/f8d789c4558c7575f4d388d44730d18fdf157 72c However, base::Process::DeprecatedGetProcessFromHandle(handle) assumes |handle| is not current process handle. The assumption brakes if single process mode thus chrome can't start with the '--single-process' flag. BUG=477001 Review URL: https://codereview.chromium.org/1113343002 Cr-Commit-Position: refs/heads/master@{#328923}