Index: content/shell/browser/shell_content_browser_client.cc |
diff --git a/content/shell/browser/shell_content_browser_client.cc b/content/shell/browser/shell_content_browser_client.cc |
index c18e4ff5a29dc7728c269797af4bdc3122d89aa9..394738e80e98f9cc37180e548dd259e38e1aca99 100644 |
--- a/content/shell/browser/shell_content_browser_client.cc |
+++ b/content/shell/browser/shell_content_browser_client.cc |
@@ -386,8 +386,8 @@ void ShellContentBrowserClient::GetAdditionalMappedFilesForChildProcess( |
#endif // defined(OS_ANDROID) |
#if defined(OS_WIN) |
-void ShellContentBrowserClient::PreSpawnRenderer(sandbox::TargetPolicy* policy, |
- bool* success) { |
+bool ShellContentBrowserClient::PreSpawnRenderer( |
+ sandbox::TargetPolicy* policy) { |
// Add sideloaded font files for testing. See also DIR_WINDOWS_FONTS |
// addition in |StartSandboxedProcess|. |
std::vector<std::string> font_files = switches::GetSideloadFontFiles(); |
@@ -398,6 +398,7 @@ void ShellContentBrowserClient::PreSpawnRenderer(sandbox::TargetPolicy* policy, |
sandbox::TargetPolicy::FILES_ALLOW_READONLY, |
base::UTF8ToWide(*i).c_str()); |
} |
+ return true; |
} |
#endif // OS_WIN |