In https://chromium-review.googlesource.com/c/chromium/src/+/1123819 we found that
helper_->context()->RegisterServiceWorker(
GURL(kScript1), options1,
base::AdaptCallbackForRepeating(
base::BindOnce(&RegisterServiceWorkerCallback, &called_1,
&sw_registration_id_1_)));
will be rewritten to
helper_->context()->RegisterServiceWorker(
GURL(kScript1), options1 base::BindOnce(&RegisterServiceWorkerCallback, &called_1,
&sw_registration_id_1_));
if we replace "base::AdaptCallbackForRepeating(" with the empty string ""
(the comma after option1 is missing).
Using " " as replacement produces correct code.
Comment 1 by yannic.b...@gmail.com
, Jul 9