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

Issue 1648113002: Check for the layoutObject before derefencing it. (Closed)

Created:
4 years, 10 months ago by lfg
Modified:
4 years, 10 months ago
Reviewers:
dcheng, piman
CC:
blink-reviews, chromium-reviews, darin-cc_chromium.org, jam, mlamouri+watch-blink_chromium.org, site-isolation-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Check for the layoutObject before derefencing it. BUG=582149 Committed: https://crrev.com/6d9bebe9347d1e5bef73c3e806258f0ee050fed2 Cr-Commit-Position: refs/heads/master@{#372405}

Patch Set 1 #

Patch Set 2 : remove navigation from test #

Total comments: 5

Patch Set 3 : addressing dcheng's comments #

Patch Set 4 : remove test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -1 line) Patch
M third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp View 1 2 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 17 (5 generated)
lfg
Daniel, please take a look.
4 years, 10 months ago (2016-01-28 23:27:20 UTC) #2
lfg
Hi piman, can you take a look? If you have a suggestion on how to ...
4 years, 10 months ago (2016-01-28 23:44:50 UTC) #4
dcheng
Blink changes LGTM but with a question. https://codereview.chromium.org/1648113002/diff/20001/third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp File third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp (right): https://codereview.chromium.org/1648113002/diff/20001/third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp#newcode816 third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp:816: if (!owner ...
4 years, 10 months ago (2016-01-29 00:32:53 UTC) #5
dcheng
https://codereview.chromium.org/1648113002/diff/20001/third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp File third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp (right): https://codereview.chromium.org/1648113002/diff/20001/third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp#newcode816 third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp:816: if (!owner || !owner->layoutObject() || !owner->layoutObject()->style()) On 2016/01/29 at ...
4 years, 10 months ago (2016-01-29 00:35:35 UTC) #6
lfg
On 2016/01/29 00:35:35, dcheng wrote: > https://codereview.chromium.org/1648113002/diff/20001/third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp > File third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp (right): > > https://codereview.chromium.org/1648113002/diff/20001/third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp#newcode816 > ...
4 years, 10 months ago (2016-01-29 01:00:50 UTC) #7
piman
https://codereview.chromium.org/1648113002/diff/20001/content/browser/site_per_process_browsertest.cc File content/browser/site_per_process_browsertest.cc (right): https://codereview.chromium.org/1648113002/diff/20001/content/browser/site_per_process_browsertest.cc#newcode5187 content/browser/site_per_process_browsertest.cc:5187: // frames. Agreed :) Frames come via RenderWidgetHostViewBase::DidReceiveRendererFrame. Maybe ...
4 years, 10 months ago (2016-01-29 01:07:50 UTC) #8
lfg
https://codereview.chromium.org/1648113002/diff/20001/third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp File third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp (right): https://codereview.chromium.org/1648113002/diff/20001/third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp#newcode816 third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp:816: if (!owner || !owner->layoutObject() || !owner->layoutObject()->style()) On 2016/01/29 00:32:53, ...
4 years, 10 months ago (2016-01-29 01:08:13 UTC) #9
lfg
https://codereview.chromium.org/1648113002/diff/20001/content/browser/site_per_process_browsertest.cc File content/browser/site_per_process_browsertest.cc (right): https://codereview.chromium.org/1648113002/diff/20001/content/browser/site_per_process_browsertest.cc#newcode5187 content/browser/site_per_process_browsertest.cc:5187: // frames. On 2016/01/29 01:07:50, piman (OOO back 01-28) ...
4 years, 10 months ago (2016-01-29 01:10:45 UTC) #10
lfg
I talked with Daniel and Charlie, and we are going to land the fix now ...
4 years, 10 months ago (2016-01-29 20:18:44 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1648113002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1648113002/60001
4 years, 10 months ago (2016-01-29 20:20:08 UTC) #14
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 10 months ago (2016-01-29 20:27:54 UTC) #15
commit-bot: I haz the power
4 years, 10 months ago (2016-01-29 20:30:03 UTC) #17
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/6d9bebe9347d1e5bef73c3e806258f0ee050fed2
Cr-Commit-Position: refs/heads/master@{#372405}

Powered by Google App Engine
This is Rietveld 408576698