CronetChromeWebView crashes |
||
Issue descriptionCronetChromeWebView doesn't share global state properly. Cronet and ChromeWebView need to share state which will otherwise prevent initialization. The following objects need to be initialized exactly once in this framework: base::AtExitManager base::MessageLoopForUI base::TaskScheduler net::NetworkChangeNotifier
,
Jul 17 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/a8d8165619c265b40848a67eae18e530bf83d218 commit a8d8165619c265b40848a67eae18e530bf83d218 Author: Mike Dougherty <michaeldo@chromium.org> Date: Mon Jul 17 18:16:13 2017 Add additional global state to ios_global_state. Expands on the shared initialization to include base::AtExitManager, net::NetworkChangeNotifier, and base::MessageLoopForUI. With this change Cronet and ChromeWebView can successfully be used when built together in the framework created by //ios/web_view:cronet_web_view_combined. Bug: 738510 Cq-Include-Trybots: master.tryserver.chromium.android:android_cronet_tester Change-Id: Iead4ba5d4f2376b09edf3f5c87a13829229b83b4 Reviewed-on: https://chromium-review.googlesource.com/558268 Commit-Queue: Mike Dougherty <michaeldo@chromium.org> Reviewed-by: Sylvain Defresne <sdefresne@chromium.org> Reviewed-by: Eugene But <eugenebut@chromium.org> Cr-Commit-Position: refs/heads/master@{#487161} [modify] https://crrev.com/a8d8165619c265b40848a67eae18e530bf83d218/components/cronet/ios/cronet_environment.h [modify] https://crrev.com/a8d8165619c265b40848a67eae18e530bf83d218/components/cronet/ios/cronet_environment.mm [modify] https://crrev.com/a8d8165619c265b40848a67eae18e530bf83d218/ios/web/app/web_main_loop.h [modify] https://crrev.com/a8d8165619c265b40848a67eae18e530bf83d218/ios/web/app/web_main_loop.mm [modify] https://crrev.com/a8d8165619c265b40848a67eae18e530bf83d218/ios/web/app/web_main_runner.mm [modify] https://crrev.com/a8d8165619c265b40848a67eae18e530bf83d218/ios/web/public/global_state/BUILD.gn [modify] https://crrev.com/a8d8165619c265b40848a67eae18e530bf83d218/ios/web/public/global_state/ios_global_state.h [modify] https://crrev.com/a8d8165619c265b40848a67eae18e530bf83d218/ios/web/public/global_state/ios_global_state.mm
,
Jul 18 2017
|
||
►
Sign in to add a comment |
||
Comment 1 by bugdroid1@chromium.org
, Jul 12 2017