chore: fix chrome_process_finder.patch description (#15577)

This commit is contained in:
Milan Burda 2018-12-17 23:15:35 +01:00 committed by Jeremy Apthorp
parent 41a3f123f1
commit 7ec4e7b0d8

View file

@ -3,11 +3,15 @@ From: Milan Burda <miburda@microsoft.com>
Date: Fri, 26 Oct 2018 20:45:49 +0200
Subject: chrome_process_finder.patch
Fix some problems when using app.makeSingleInstance on POSIX systems
Fix some problems when using app.makeSingleInstance on Windows
* The original command line of new instances are passed instead
of the one modified by Chromium.
* The command line is passed as Array.
When using the app.makeSingleInstance API, the command line arguments
of the new instance will be passed to existing instance. Without this patch,
Chromium would append some new flags (kOriginalProcessStartTime and kFastStart).
Reference: https://github.com/electron/electron/pull/3175
diff --git a/chrome/browser/win/chrome_process_finder.cc b/chrome/browser/win/chrome_process_finder.cc