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

Issue 215773002: Don't call RenderObject::enclosingLayer on a null pointer (Closed)

Created:
6 years, 9 months ago by abarth-chromium
Modified:
6 years, 9 months ago
Reviewers:
esprehn
CC:
blink-reviews, kenneth.christiansen, zoltan1, dsinclair, bemjb+rendering_chromium.org, eae+blinkwatch, leviw+renderwatch, blink-layers+watch_chromium.org, jchaffraix+rendering, pdr., rune+blink
Visibility:
Public.

Description

Don't call RenderObject::enclosingLayer on a null pointer In C++, it's not legal to call member functions on objects that are null pointers. R=esprehn@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=170245

Patch Set 1 #

Total comments: 3

Patch Set 2 : address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -14 lines) Patch
M Source/core/frame/FrameView.cpp View 1 2 chunks +3 lines, -3 lines 0 comments Download
M Source/core/page/scrolling/ScrollingCoordinator.cpp View 1 1 chunk +9 lines, -7 lines 0 comments Download
M Source/core/rendering/RenderObject.cpp View 1 1 chunk +3 lines, -4 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
abarth-chromium
6 years, 9 months ago (2014-03-27 23:11:59 UTC) #1
esprehn
lgtm https://codereview.chromium.org/215773002/diff/1/Source/core/frame/FrameView.cpp File Source/core/frame/FrameView.cpp (right): https://codereview.chromium.org/215773002/diff/1/Source/core/frame/FrameView.cpp#newcode2746 Source/core/frame/FrameView.cpp:2746: RenderObject* enclosingLayerRenderer = eltRenderer ? eltRenderer->enclosingLayer()->renderer() : 0; ...
6 years, 9 months ago (2014-03-27 23:54:27 UTC) #2
abarth-chromium
Done
6 years, 9 months ago (2014-03-28 00:17:27 UTC) #3
abarth-chromium
On 2014/03/27 23:54:27, esprehn wrote: > I'd ASSERT(isRooted()) at the top and ASSERT_NOT_REACHED() here and ...
6 years, 9 months ago (2014-03-28 00:17:53 UTC) #4
abarth-chromium
The CQ bit was checked by abarth@chromium.org
6 years, 9 months ago (2014-03-28 00:18:04 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/abarth@chromium.org/215773002/20001
6 years, 9 months ago (2014-03-28 00:18:09 UTC) #6
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-28 01:21:25 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on win_blink_rel
6 years, 9 months ago (2014-03-28 01:21:26 UTC) #8
esprehn
The CQ bit was checked by esprehn@chromium.org
6 years, 9 months ago (2014-03-28 01:22:00 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/abarth@chromium.org/215773002/20001
6 years, 9 months ago (2014-03-28 01:22:01 UTC) #10
commit-bot: I haz the power
6 years, 9 months ago (2014-03-28 02:06:47 UTC) #11
Message was sent while issue was closed.
Change committed as 170245

Powered by Google App Engine
This is Rietveld 408576698