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

Issue 2617433002: Use the standard downcasting macros for downcasting TextTrack objects. (Closed)

Created:
3 years, 11 months ago by dcheng
Modified:
3 years, 11 months ago
Reviewers:
fs, foolip
CC:
fs, blink-reviews, blink-reviews-html_chromium.org, chromium-reviews, dglazkov+blink, eric.carlson_apple.com, feature-media-reviews_chromium.org, gasubic, mlamouri+watch-blink_chromium.org, nessy, Srirama, vcarbune.chromium
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use the standard downcasting macros for downcasting TextTrack objects. Though clusterfuzz uses ubsan now, which should catch bad casts, using these macros is still the typical convention for Blink code that needs to downcast. BUG=none Committed: https://crrev.com/be820b8ee970fe4bf17804821046890a9e77169f Cr-Commit-Position: refs/heads/master@{#441453}

Patch Set 1 #

Total comments: 2

Patch Set 2 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -10 lines) Patch
M third_party/WebKit/Source/core/html/HTMLMediaElement.cpp View 1 chunk +3 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/html/track/CueTimeline.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/track/InbandTextTrack.h View 3 chunks +6 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/html/track/LoadableTextTrack.h View 2 chunks +7 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/track/TextTrackList.cpp View 1 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 17 (11 generated)
dcheng
3 years, 11 months ago (2017-01-04 04:58:25 UTC) #4
fs
lgtm https://codereview.chromium.org/2617433002/diff/1/third_party/WebKit/Source/core/html/track/TextTrackList.cpp File third_party/WebKit/Source/core/html/track/TextTrackList.cpp (right): https://codereview.chromium.org/2617433002/diff/1/third_party/WebKit/Source/core/html/track/TextTrackList.cpp#newcode50 third_party/WebKit/Source/core/html/track/TextTrackList.cpp:50: return toLoadableTextTrack(textTrack)->trackElementIndex(); There are a few more instances ...
3 years, 11 months ago (2017-01-04 09:44:57 UTC) #8
dcheng
https://codereview.chromium.org/2617433002/diff/1/third_party/WebKit/Source/core/html/track/TextTrackList.cpp File third_party/WebKit/Source/core/html/track/TextTrackList.cpp (right): https://codereview.chromium.org/2617433002/diff/1/third_party/WebKit/Source/core/html/track/TextTrackList.cpp#newcode50 third_party/WebKit/Source/core/html/track/TextTrackList.cpp:50: return toLoadableTextTrack(textTrack)->trackElementIndex(); On 2017/01/04 09:44:57, fs wrote: > There ...
3 years, 11 months ago (2017-01-04 19:09:09 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/2617433002/20001
3 years, 11 months ago (2017-01-04 19:09:47 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001)
3 years, 11 months ago (2017-01-04 20:29:35 UTC) #15
commit-bot: I haz the power
3 years, 11 months ago (2017-01-04 20:31:33 UTC) #17
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/be820b8ee970fe4bf17804821046890a9e77169f
Cr-Commit-Position: refs/heads/master@{#441453}

Powered by Google App Engine
This is Rietveld 408576698