Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(31)

Issue 2102283002: Gesture Nav: Protect against the case when navigation completes as soon as it is requested. (Closed)

Created:
4 years, 5 months ago by mfomitchev
Modified:
4 years, 5 months ago
Reviewers:
sadrul
CC:
chromium-reviews, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Gesture 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -7 lines) Patch
M content/browser/web_contents/aura/overscroll_navigation_overlay.h View 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/web_contents/aura/overscroll_navigation_overlay.cc View 2 chunks +8 lines, -7 lines 0 comments Download
M content/browser/web_contents/aura/overscroll_navigation_overlay_unittest.cc View 2 chunks +35 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (6 generated)
mfomitchev
sadrul: can you PTAL?
4 years, 5 months ago (2016-06-28 21:00:23 UTC) #4
sadrul
lgtm
4 years, 5 months ago (2016-06-30 14:45:08 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2102283002/1
4 years, 5 months ago (2016-06-30 15:01:27 UTC) #7
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 5 months ago (2016-06-30 15:54:39 UTC) #9
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-06-30 15:54:47 UTC) #10
commit-bot: I haz the power
4 years, 5 months ago (2016-06-30 15:56:10 UTC) #12
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/85202fc5979f23d5db90b00b19db4cb7402cc8bf
Cr-Commit-Position: refs/heads/master@{#403186}

Powered by Google App Engine
This is Rietveld 408576698