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

Issue 2473293002: Naive fix of a call on a nil object in CompositedLayerMapping::containingSquashedLayer. (Closed)

Created:
4 years, 1 month ago by krasin1
Modified:
4 years, 1 month ago
Reviewers:
chrishtr, Nico
CC:
blink-reviews, blink-reviews-layout_chromium.org, chromium-reviews, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Naive fix of a call on a nil object in CompositedLayerMapping::containingSquashedLayer. layoutObject happens to be NULL in some cases. This CL fixes an undefined behavior by avoiding making calls on a null object. BUG=662265 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Committed: https://crrev.com/a0c9881a5470c0af5ba0faefb785e6c0751c669e Cr-Commit-Position: refs/heads/master@{#430024}

Patch Set 1 #

Patch Set 2 : Naive fix of a call on a nil object in CompositedLayerMapping::containingSquashedLayer. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -0 lines) Patch
M third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp View 1 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (11 generated)
krasin1
4 years, 1 month ago (2016-11-04 02:44:30 UTC) #3
mstensho (USE GERRIT)
I don't know whether it's right to call this method with a nullptr, but chrishtr ...
4 years, 1 month ago (2016-11-04 09:30:12 UTC) #5
krasin1
On 2016/11/04 09:30:12, mstensho wrote: > I don't know whether it's right to call this ...
4 years, 1 month ago (2016-11-04 15:39:30 UTC) #7
chrishtr
lgtm
4 years, 1 month ago (2016-11-04 18:24:38 UTC) #9
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/2473293002/20001
4 years, 1 month ago (2016-11-04 18:25:17 UTC) #10
krasin1
hi Chris, thank you for the approval. Before we go forward and submit the CL, ...
4 years, 1 month ago (2016-11-04 18:26:47 UTC) #11
chrishtr
I think callee is fine in this case. You should be able to construct a ...
4 years, 1 month ago (2016-11-04 18:35:20 UTC) #13
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/2473293002/20001
4 years, 1 month ago (2016-11-04 18:39:09 UTC) #15
krasin1
On 2016/11/04 18:35:20, chrishtr wrote: > I think callee is fine in this case. You ...
4 years, 1 month ago (2016-11-04 18:39:35 UTC) #16
chrishtr
It would be nice to have a test. Have you tried dumping the HTML of ...
4 years, 1 month ago (2016-11-04 18:48:20 UTC) #17
krasin1
On 2016/11/04 18:48:20, chrishtr wrote: > It would be nice to have a test. Have ...
4 years, 1 month ago (2016-11-04 19:17:51 UTC) #19
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/2473293002/20001
4 years, 1 month ago (2016-11-04 21:41:33 UTC) #21
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 1 month ago (2016-11-04 21:48:30 UTC) #23
commit-bot: I haz the power
4 years, 1 month ago (2016-11-04 21:50:02 UTC) #25
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/a0c9881a5470c0af5ba0faefb785e6c0751c669e
Cr-Commit-Position: refs/heads/master@{#430024}

Powered by Google App Engine
This is Rietveld 408576698