RAII way for handling observers of NetworkStateNotifier
This CL changes how to manage observers of NetworkStateNotifier to use handles in RAII way. Before this CL, we depended on the fact that WebTaskRunner objects returned from TaskRunnerHelper::Get were always same for the same execution context. Now we are trying to change the fact and WebTaskRunnerImpl will always be created for each call. This is part of the big CL for changing WebFrameSchedulerImpl:: *TaskRunner() to create WebTaskRunnerImpl anytime: https://chromium-review.googlesource.com/c/chromium/src/+/704459 Bug: 762453 Change-Id: I5308e7cb0493d84c25e4da7f3562cd0fcff0f3af Reviewed-on: https://chromium-review.googlesource.com/722859 Commit-Queue: Hajime Hoshi <hajimehoshi@chromium.org> Reviewed-by:Josh Karlin <jkarlin@chromium.org> Reviewed-by:
Alexander Timin <altimin@chromium.org> Reviewed-by:
Kentaro Hara <haraken@chromium.org> Cr-Commit-Position: refs/heads/master@{#510012}
Showing
This diff is collapsed.
Please register or sign in to comment