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

Issue 211403003: Add a missing null check in SliderThumbElement::stopDragging() (Closed)

Created:
6 years, 9 months ago by philipj_slow
Modified:
6 years, 9 months ago
CC:
blink-reviews, feature-media-reviews_chromium.org, dglazkov+blink, philipj_slow, adamk+blink_chromium.org, eric.carlson_apple.com
Visibility:
Public.

Description

Add a missing null check in SliderThumbElement::stopDragging() hostInput() is null checked in several other SliderThumbElement functions and clearly can return null, so just handle it. Add GCController.collect() to the test case to make the crash trigger reliably, which was necessary in order to debug it. BUG=356148 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=170139

Patch Set 1 #

Total comments: 4

Patch Set 2 : nits #

Patch Set 3 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -6 lines) Patch
M LayoutTests/media/audio-delete-while-slider-thumb-clicked.html View 1 3 chunks +15 lines, -3 lines 0 comments Download
M Source/core/html/shadow/SliderThumbElement.cpp View 1 2 chunks +4 lines, -3 lines 0 comments Download

Messages

Total messages: 38 (0 generated)
philipj_slow
PTAL, and see the comments in the bug.
6 years, 9 months ago (2014-03-25 18:03:00 UTC) #1
acolwell GONE FROM CHROMIUM
lgtm % nits https://codereview.chromium.org/211403003/diff/1/LayoutTests/media/audio-delete-while-slider-thumb-clicked.html File LayoutTests/media/audio-delete-while-slider-thumb-clicked.html (right): https://codereview.chromium.org/211403003/diff/1/LayoutTests/media/audio-delete-while-slider-thumb-clicked.html#newcode21 LayoutTests/media/audio-delete-while-slider-thumb-clicked.html:21: if (window.GCController) nit: I think you ...
6 years, 9 months ago (2014-03-25 22:28:57 UTC) #2
philipj_slow
https://codereview.chromium.org/211403003/diff/1/LayoutTests/media/audio-delete-while-slider-thumb-clicked.html File LayoutTests/media/audio-delete-while-slider-thumb-clicked.html (right): https://codereview.chromium.org/211403003/diff/1/LayoutTests/media/audio-delete-while-slider-thumb-clicked.html#newcode21 LayoutTests/media/audio-delete-while-slider-thumb-clicked.html:21: if (window.GCController) On 2014/03/25 22:28:57, acolwell wrote: > nit: ...
6 years, 9 months ago (2014-03-26 08:15:31 UTC) #3
philipj_slow
The CQ bit was checked by philipj@opera.com
6 years, 9 months ago (2014-03-26 08:17:13 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/philipj@opera.com/211403003/80001
6 years, 9 months ago (2014-03-26 08:17:21 UTC) #5
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-26 08:25:23 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on win_blink_compile_dbg
6 years, 9 months ago (2014-03-26 08:25:23 UTC) #7
philipj_slow
The CQ bit was checked by philipj@opera.com
6 years, 9 months ago (2014-03-26 08:28:16 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/philipj@opera.com/211403003/80001
6 years, 9 months ago (2014-03-26 08:28:24 UTC) #9
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-26 09:05:12 UTC) #10
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-26 09:05:12 UTC) #11
philipj_slow
The CQ bit was checked by philipj@opera.com
6 years, 9 months ago (2014-03-26 09:07:29 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/philipj@opera.com/211403003/80001
6 years, 9 months ago (2014-03-26 09:07:32 UTC) #13
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-26 09:24:26 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on linux_blink_dbg
6 years, 9 months ago (2014-03-26 09:24:26 UTC) #15
philipj_slow
The CQ bit was checked by philipj@opera.com
6 years, 9 months ago (2014-03-26 10:04:43 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/philipj@opera.com/211403003/80001
6 years, 9 months ago (2014-03-26 10:04:46 UTC) #17
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-26 11:07:34 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on linux_blink_dbg
6 years, 9 months ago (2014-03-26 11:07:34 UTC) #19
philipj_slow
The CQ bit was checked by philipj@opera.com
6 years, 9 months ago (2014-03-26 11:30:53 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/philipj@opera.com/211403003/80001
6 years, 9 months ago (2014-03-26 11:30:55 UTC) #21
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-26 12:34:29 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on linux_blink_dbg
6 years, 9 months ago (2014-03-26 12:34:30 UTC) #23
philipj_slow
The CQ bit was checked by philipj@opera.com
6 years, 9 months ago (2014-03-26 13:19:08 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/philipj@opera.com/211403003/80001
6 years, 9 months ago (2014-03-26 13:19:14 UTC) #25
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-26 14:28:35 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on linux_blink_dbg
6 years, 9 months ago (2014-03-26 14:28:35 UTC) #27
philipj_slow
The CQ bit was checked by philipj@opera.com
6 years, 9 months ago (2014-03-26 18:28:53 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/philipj@opera.com/211403003/80001
6 years, 9 months ago (2014-03-26 18:29:01 UTC) #29
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-26 19:37:30 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on linux_blink_dbg
6 years, 9 months ago (2014-03-26 19:37:31 UTC) #31
philipj_slow
The CQ bit was checked by philipj@opera.com
6 years, 9 months ago (2014-03-27 02:03:01 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/philipj@opera.com/211403003/330001
6 years, 9 months ago (2014-03-27 02:03:08 UTC) #33
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-27 03:12:39 UTC) #34
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on linux_blink_dbg
6 years, 9 months ago (2014-03-27 03:12:39 UTC) #35
philipj_slow
The CQ bit was checked by philipj@opera.com
6 years, 9 months ago (2014-03-27 04:17:17 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/philipj@opera.com/211403003/330001
6 years, 9 months ago (2014-03-27 04:17:19 UTC) #37
commit-bot: I haz the power
6 years, 9 months ago (2014-03-27 05:25:56 UTC) #38
Message was sent while issue was closed.
Change committed as 170139

Powered by Google App Engine
This is Rietveld 408576698