Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit df42f5e

Browse files
committed
Don't touch GPU process' command line
1 parent ebac5cc commit df42f5e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/shell_content_browser_client.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,8 @@ std::string ShellContentBrowserClient::GetApplicationLocale() {
9898
void ShellContentBrowserClient::AppendExtraCommandLineSwitches(
9999
CommandLine* command_line,
100100
int child_process_id) {
101+
if (command_line->GetSwitchValueASCII("type") == "gpu-process")
102+
return;
101103
if (child_process_id > 0) {
102104
content::RenderProcessHost* rph =
103105
content::RenderProcessHost::FromID(child_process_id);

0 commit comments

Comments
 (0)