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

Issue 326073007: Fix for crash in restoreScrollPositionAndViewState (Closed)

Created:
6 years, 6 months ago by bokan
Modified:
6 years, 6 months ago
CC:
blink-reviews, gavinp+loader_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Fix for crash in restoreScrollPositionAndViewState From the stack trace in the bug, it looks like this function is entered during DOMWindow teardown which means the dereference of the document() member on the Frame is invalid. We can simply use m_frame->settings() since it's guaranteed to be there because of the check for m_frame->page() at the function's entrance. BUG=377916 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175918

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M Source/core/loader/FrameLoader.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 8 (0 generated)
bokan
Levi, ptal. I couldn't get a repro (and thus, test) and it looks like it ...
6 years, 6 months ago (2014-06-10 19:31:00 UTC) #1
Nate Chapin
Do we know where/how is the DOMWindow getting nulled out? I agree this change makes ...
6 years, 6 months ago (2014-06-10 19:34:28 UTC) #2
bokan
On 2014/06/10 19:34:28, Nate Chapin wrote: > Do we know where/how is the DOMWindow getting ...
6 years, 6 months ago (2014-06-10 19:56:30 UTC) #3
Nate Chapin
On 2014/06/10 19:56:30, bokan wrote: > On 2014/06/10 19:34:28, Nate Chapin wrote: > > Do ...
6 years, 6 months ago (2014-06-10 20:00:23 UTC) #4
bokan
The CQ bit was checked by bokan@chromium.org
6 years, 6 months ago (2014-06-10 20:24:36 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bokan@chromium.org/326073007/1
6 years, 6 months ago (2014-06-10 20:24:59 UTC) #6
leviw_travelin_and_unemployed
lgtm as well
6 years, 6 months ago (2014-06-10 20:29:02 UTC) #7
commit-bot: I haz the power
6 years, 6 months ago (2014-06-10 21:31:50 UTC) #8
Message was sent while issue was closed.
Change committed as 175918

Powered by Google App Engine
This is Rietveld 408576698