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

Issue 539003003: Simplify calls to HTMLMediaElement::createMediaControls() (Closed)

Created:
6 years, 3 months ago by fs
Modified:
6 years, 3 months ago
CC:
blink-reviews, blink-reviews-html_chromium.org, philipj_slow, gasubic, fs, eric.carlson_apple.com, feature-media-reviews_chromium.org, dglazkov+blink, nessy, vcarbune.chromium
Project:
blink
Visibility:
Public.

Description

Simplify calls to HTMLMediaElement::createMediaControls() All calls to the above method is currently guarded by a check of the predicate hasMediaControls(). The first thing createMediaControls() does though is to check the same predicate. Remove the checks at the callsites and leave the checking to createMediaControls(). Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181403

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -3 lines) Patch
M Source/core/html/HTMLMediaElement.cpp View 3 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 6 (2 generated)
fs
I suppose this could have been done by removing one or the other, but removing ...
6 years, 3 months ago (2014-09-04 13:56:58 UTC) #2
philipj_slow
lgtm
6 years, 3 months ago (2014-09-04 14:13:39 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fs@opera.com/539003003/1
6 years, 3 months ago (2014-09-04 14:14:13 UTC) #5
commit-bot: I haz the power
6 years, 3 months ago (2014-09-04 21:59:23 UTC) #6
Message was sent while issue was closed.
Committed patchset #1 (id:1) as 181403

Powered by Google App Engine
This is Rietveld 408576698