DescriptionGesture Nav: Protect against the case when navigation completes as soon as it is requested.
If DidStopLoading is called on WebContentsObserver immeditely after navigation
is requested, then window_ in could be released via StopObservingIfDone as soon
as GoForward/GoBack is called
OerscrollNavigationOverlay::OnOverscrollCompleted requests navigaions by calling
GoForward/GoBack on the controller. If these navigations immeditely trigger
DidStopLoading, main_window->SetTransform would segfault.
Protect against this case by setting up the transforms and window positioning
before doing navigation.
BUG=623620
Committed: https://crrev.com/85202fc5979f23d5db90b00b19db4cb7402cc8bf
Cr-Commit-Position: refs/heads/master@{#403186}
Patch Set 1 #
Messages
Total messages: 12 (6 generated)
|