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

Issue 2560803002: Don't assume a FrameHost from FrameView. (Closed)

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

Description

Don't assume a FrameHost from FrameView. This fixes a crash that happens when a detached plugin gets updated. BUG=671331

Patch Set 1 #

Patch Set 2 : Patch #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -13 lines) Patch
A third_party/WebKit/LayoutTests/fast/plugins/update-plugin-after-detachment-crash.html View 1 chunk +34 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/FrameView.cpp View 1 3 chunks +13 lines, -13 lines 1 comment Download

Messages

Total messages: 22 (7 generated)
bokan
ptal
4 years ago (2016-12-07 13:36:42 UTC) #6
dcheng
(Sorry for not replying yet, I need to think about this a bit more. I ...
4 years ago (2016-12-08 08:17:33 UTC) #9
bokan
ping
4 years ago (2016-12-12 15:30:57 UTC) #10
dcheng
https://codereview.chromium.org/2560803002/diff/20001/third_party/WebKit/Source/core/frame/FrameView.cpp File third_party/WebKit/Source/core/frame/FrameView.cpp (right): https://codereview.chromium.org/2560803002/diff/20001/third_party/WebKit/Source/core/frame/FrameView.cpp#newcode335 third_party/WebKit/Source/core/frame/FrameView.cpp:335: if (FrameHost* frameHost = m_frame->host()) What's the stack where ...
4 years ago (2016-12-12 21:32:46 UTC) #11
bokan
On 2016/12/12 21:32:46, dcheng wrote: > https://codereview.chromium.org/2560803002/diff/20001/third_party/WebKit/Source/core/frame/FrameView.cpp > File third_party/WebKit/Source/core/frame/FrameView.cpp (right): > > https://codereview.chromium.org/2560803002/diff/20001/third_party/WebKit/Source/core/frame/FrameView.cpp#newcode335 > ...
4 years ago (2016-12-12 22:07:10 UTC) #12
bokan
Ping, should we land this guard while the larger issue of deferred widget updates is ...
4 years ago (2016-12-14 12:50:55 UTC) #13
dcheng
Sorry, I'm still puzzling over this. I don't understand why we're calling updateWidget on a ...
4 years ago (2016-12-14 17:30:38 UTC) #14
bokan
On 2016/12/14 17:30:38, dcheng wrote: > Sorry, I'm still puzzling over this. I don't understand ...
4 years ago (2016-12-14 21:57:12 UTC) #15
bokan
On 2016/12/14 21:57:12, bokan wrote: > On 2016/12/14 17:30:38, dcheng wrote: > > Sorry, I'm ...
4 years ago (2016-12-14 22:06:44 UTC) #16
bokan
On 2016/12/14 22:06:44, bokan wrote: > On 2016/12/14 21:57:12, bokan wrote: > > On 2016/12/14 ...
4 years ago (2016-12-14 23:11:15 UTC) #17
dcheng
On 2016/12/14 21:57:12, bokan wrote: > On 2016/12/14 17:30:38, dcheng wrote: > > Sorry, I'm ...
4 years ago (2016-12-14 23:16:49 UTC) #18
bokan
On 2016/12/14 23:16:49, dcheng wrote: > On 2016/12/14 21:57:12, bokan wrote: > > On 2016/12/14 ...
4 years ago (2016-12-14 23:32:55 UTC) #19
bokan
ping
4 years ago (2016-12-15 21:59:26 UTC) #20
dcheng
After poking at this a bunch, I think I understand what's causing this and submitted ...
4 years ago (2016-12-17 20:22:52 UTC) #21
bokan
4 years ago (2016-12-18 21:42:35 UTC) #22
awesome, thanks dcheng!

Powered by Google App Engine
This is Rietveld 408576698