Commit b503c9f9 authored by Lei Zhang's avatar Lei Zhang Committed by Commit Bot

Fix a typo in headless code.

Spell "crashpad" correctly.

Change-Id: Ib8933d1254b86394e6c1ee4027dc012a3697ecfc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1539102Reviewed-by: default avatarDavid Vallet <dvallet@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Cr-Commit-Position: refs/heads/master@{#644145}
parent b6799df1
......@@ -884,7 +884,7 @@ jumbo_static_library("headless_shell_lib") {
}
if (is_win) {
defines = [ "HEADLESS_USE_CRASPHAD" ]
defines = [ "HEADLESS_USE_CRASHPAD" ]
deps += [
"//components/crash/content/app:crash_export_thunks",
......
......@@ -601,7 +601,7 @@ bool ValidateCommandLine(const base::CommandLine& command_line) {
int HeadlessShellMain(HINSTANCE instance,
sandbox::SandboxInterfaceInfo* sandbox_info) {
base::CommandLine::Init(0, nullptr);
#if defined(HEADLESS_USE_CRASPHAD)
#if defined(HEADLESS_USE_CRASHPAD)
std::string process_type =
base::CommandLine::ForCurrentProcess()->GetSwitchValueASCII(
::switches::kProcessType);
......@@ -610,7 +610,7 @@ int HeadlessShellMain(HINSTANCE instance,
*base::CommandLine::ForCurrentProcess(), base::FilePath(),
::switches::kProcessType, switches::kUserDataDir);
}
#endif // defined(HEADLESS_USE_CRASPHAD)
#endif // defined(HEADLESS_USE_CRASHPAD)
RunChildProcessIfNeeded(instance, sandbox_info);
HeadlessBrowser::Options::Builder builder(0, nullptr);
builder.SetInstance(instance);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment