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

Issue 2290353002: Fix crash when scrolling in a remote process frame (Closed)

Created:
4 years, 3 months ago by bokan
Modified:
4 years, 3 months ago
Reviewers:
lfg
CC:
chromium-reviews, blink-reviews, kenneth.christiansen
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix crash when scrolling in a remote process frame This is occurring because we try to get the RootScrollerController from the top level Document by calling topDocument(). Since we're in a remote Frame though, topDocument returns the current RootScrollerController's Document and so we infinitely recurse into isViewportScrollCallback. This is a quick fix to the problem while I come up with a better long term solution for OOPIFs. BUG=641775 Committed: https://crrev.com/5e3154ffb1fc384d3a1529a3c5aa91ae83e50473 Cr-Commit-Position: refs/heads/master@{#415348}

Patch Set 1 #

Patch Set 2 : Added TODOs #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -2 lines) Patch
M third_party/WebKit/Source/core/page/scrolling/RootScrollerController.cpp View 1 2 chunks +8 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.h View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 14 (8 generated)
bokan
This seems to fix the issue for me. I was getting a sad tab crash ...
4 years, 3 months ago (2016-08-30 15:30:59 UTC) #5
lfg
lgtm. nit: can you add a TODO() with a link to the bug? On 2016/08/30 ...
4 years, 3 months ago (2016-08-30 15:41:20 UTC) #6
bokan
On 2016/08/30 15:41:20, lfg wrote: > lgtm. > > nit: can you add a TODO() ...
4 years, 3 months ago (2016-08-30 16:11:31 UTC) #7
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/2290353002/20001
4 years, 3 months ago (2016-08-30 16:12:05 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 3 months ago (2016-08-30 17:58:16 UTC) #12
commit-bot: I haz the power
4 years, 3 months ago (2016-08-30 18:01:17 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/5e3154ffb1fc384d3a1529a3c5aa91ae83e50473
Cr-Commit-Position: refs/heads/master@{#415348}

Powered by Google App Engine
This is Rietveld 408576698