forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fuchsia] Move SetAPIKey call to WebEngineMainDelegate::BasicStartupC…
…omplete() 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}
- Loading branch information
Showing
3 changed files
with
9 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters