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

Issue 196723014: Replace Element::isMediaElement() with isHTMLMediaElement (Closed)

Created:
6 years, 9 months ago by philipj_slow
Modified:
6 years, 9 months ago
CC:
blink-reviews, gasubic, sof, eae+blinkwatch, fs, eric.carlson_apple.com, feature-media-reviews_chromium.org, dglazkov+blink, nessy, adamk+blink_chromium.org, vcarbune.chromium, rwlbuis
Visibility:
Public.

Description

Replace Element::isMediaElement() with isHTMLMediaElement This make HTMLMediaElement type casting more in line with the generated code for most other HTML elements. Not incidentally, this simplifies the code in several places. BUG=none Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=169293

Patch Set 1 #

Total comments: 2

Patch Set 2 : less null checks #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -16 lines) Patch
M Source/core/dom/Element.h View 1 chunk +0 lines, -2 lines 0 comments Download
M Source/core/dom/FullscreenElementStack.cpp View 1 2 chunks +2 lines, -1 line 0 comments Download
M Source/core/events/EventPath.cpp View 1 2 chunks +2 lines, -1 line 0 comments Download
M Source/core/html/HTMLMediaElement.h View 2 chunks +6 lines, -3 lines 0 comments Download
M Source/core/html/HTMLSourceElement.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
M Source/core/html/HTMLTrackElement.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/html/shadow/MediaControlElementTypes.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/web/FullscreenController.cpp View 3 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 22 (0 generated)
philipj_slow
Chris, this was inspired by your cleanup, so PTAL. The only silly bit is that ...
6 years, 9 months ago (2014-03-13 18:31:55 UTC) #1
Inactive
Lgtm with comments. Thanks for helping with the cleanup! https://codereview.chromium.org/196723014/diff/1/Source/core/dom/FullscreenElementStack.cpp File Source/core/dom/FullscreenElementStack.cpp (right): https://codereview.chromium.org/196723014/diff/1/Source/core/dom/FullscreenElementStack.cpp#newcode193 Source/core/dom/FullscreenElementStack.cpp:193: ...
6 years, 9 months ago (2014-03-13 18:46:23 UTC) #2
philipj_slow
Fixed, thanks for catching those!
6 years, 9 months ago (2014-03-13 18:52:54 UTC) #3
philipj_slow
The CQ bit was checked by philipj@opera.com
6 years, 9 months ago (2014-03-13 18:57:43 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/196723014/20001
6 years, 9 months ago (2014-03-13 18:57:45 UTC) #5
Inactive
On 2014/03/13 18:57:45, I haz the power (commit-bot) wrote: > CQ is trying da patch. ...
6 years, 9 months ago (2014-03-13 18:59:34 UTC) #6
Inactive
+adamk
6 years, 9 months ago (2014-03-13 18:59:58 UTC) #7
philipj_slow
Oops, thanks Chris!
6 years, 9 months ago (2014-03-13 19:00:53 UTC) #8
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-13 19:16:53 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on blink_presubmit
6 years, 9 months ago (2014-03-13 19:16:55 UTC) #10
philipj_slow
Ping adamk
6 years, 9 months ago (2014-03-15 00:08:45 UTC) #11
adamk
lgtm
6 years, 9 months ago (2014-03-15 00:23:26 UTC) #12
adamk
The CQ bit was checked by adamk@chromium.org
6 years, 9 months ago (2014-03-15 00:23:30 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/philipj@opera.com/196723014/20001
6 years, 9 months ago (2014-03-15 00:23:37 UTC) #14
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-15 00:23:47 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on blink_presubmit
6 years, 9 months ago (2014-03-15 00:23:48 UTC) #16
philipj_slow
On 2014/03/15 00:23:48, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
6 years, 9 months ago (2014-03-15 00:37:01 UTC) #17
Inactive
lgtm It is the bot's problem, adamk is an OWNER for Source/web.
6 years, 9 months ago (2014-03-15 00:49:39 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/philipj@opera.com/196723014/20001
6 years, 9 months ago (2014-03-15 00:49:51 UTC) #19
commit-bot: I haz the power
Change committed as 169293
6 years, 9 months ago (2014-03-15 01:13:17 UTC) #20
philipj_slow
On 2014/03/15 00:49:39, Chris Dumez wrote: > lgtm > > It is the bot's problem, ...
6 years, 9 months ago (2014-03-15 02:37:06 UTC) #21
Inactive
6 years, 9 months ago (2014-03-15 02:40:40 UTC) #22
Message was sent while issue was closed.
On 2014/03/15 02:37:06, philipj wrote:
> On 2014/03/15 00:49:39, Chris Dumez wrote:
> > lgtm
> > 
> > It is the bot's problem, adamk is an OWNER for Source/web.
> 
> Hmm, weird. Is there a known bug here, or should I report one?

I believe esprehn just sent an email to the mailing list about the same issue.
The bots are getting worse :/

Powered by Google App Engine
This is Rietveld 408576698