diff --git a/patches/common/chromium/chrome_process_finder.patch b/patches/common/chromium/chrome_process_finder.patch index ee35d1c3ca29..f8901ea9f665 100644 --- a/patches/common/chromium/chrome_process_finder.patch +++ b/patches/common/chromium/chrome_process_finder.patch @@ -3,11 +3,15 @@ From: Milan Burda 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