-
Fabrice de Gans-Riberi authored
In https://crrev.com/c/2613649, a call to google_apis::SetAPIKey() was added in the main() function. However, there is no AtExitManager registered by that point, resulting in a crash in builds with dchecks enabled. This moves the call to google_apis::SetAPIKey() to be done in WebEngineMainDelegate::BasicStartupComplete() instead. Bug: 1168325 Change-Id: Iee034fb20c7d4d8563cbd9973943d87339619b71 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2638634 Commit-Queue: Fabrice de Gans-Riberi <fdegans@chromium.org> Reviewed-by:
Sharon Yang <yangsharon@chromium.org> Reviewed-by:
David Dorwin <ddorwin@chromium.org> Cr-Commit-Position: refs/heads/master@{#845004}
c3ad19ae