Chromium Code Reviews| Index: content/shell/shell_content_browser_client.cc |
| diff --git a/content/shell/shell_content_browser_client.cc b/content/shell/shell_content_browser_client.cc |
| index c2fd53ccde9613cca3926d6c0bd4685d95fe5799..e07287ae7625573e2ce001fb9b701f777c39b67f 100644 |
| --- a/content/shell/shell_content_browser_client.cc |
| +++ b/content/shell/shell_content_browser_client.cc |
| @@ -76,7 +76,7 @@ WebContentsViewDelegate* ShellContentBrowserClient::GetWebContentsViewDelegate( |
| #if defined(OS_ANDROID) |
| void ShellContentBrowserClient::GetAdditionalMappedFilesForChildProcess( |
| const CommandLine& command_line, |
| - base::GlobalDescriptors::Mapping* mappings) { |
| + std::vector<content::FileDescriptorInfo>* mappings) { |
| int flags = base::PLATFORM_FILE_OPEN | base::PLATFORM_FILE_READ; |
| FilePath pak_file; |
| DCHECK(PathService::Get(base::DIR_ANDROID_APP_DATA, &pak_file)); |
| @@ -89,8 +89,9 @@ void ShellContentBrowserClient::GetAdditionalMappedFilesForChildProcess( |
| NOTREACHED() << "Failed to open file when creating renderer process: " |
| << "content_shell.pak"; |
| } |
| - mappings->push_back(std::pair<base::GlobalDescriptors::Key, int>( |
| - kShellPakDescriptor, f)); |
| + mappings->push_back( |
|
Yaron
2012/09/24 18:53:14
You'll have to make a similar change in chrome/bro
Jay Civelli
2012/09/24 20:59:59
Yes, I am planning on downstreaming myself and mak
|
| + content::FileDescriptorInfo(kShellPakDescriptor, |
| + base::FileDescriptor(f, true))); |
| } |
| #endif |