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

Issue 2730683004: Avoid name collision for secondsPerHour/secondsPerMinute (Closed)

Created:
3 years, 9 months ago by Daniel Bratell
Modified:
3 years, 9 months ago
Reviewers:
fs
CC:
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
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Avoid name collision for secondsPerHour/secondsPerMinute There are other places declaring the names secondsPerHour and secondsPerMinute. They don't collide right now, but by moving these to a smaller namespace I can avoid collisions in some experiments. Review-Url: https://codereview.chromium.org/2730683004 Cr-Commit-Position: refs/heads/master@{#454384} Committed: https://chromium.googlesource.com/chromium/src/+/00df836c1618826e2a15678305ef9a2ad024ce6d

Patch Set 1 #

Total comments: 2

Patch Set 2 : Addressed review comments. #

Total comments: 2

Patch Set 3 : Keep using double #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -5 lines) Patch
M third_party/WebKit/Source/core/html/MediaFragmentURIParser.cpp View 1 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/html/track/vtt/VTTParser.cpp View 1 2 2 chunks +3 lines, -3 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 17 (8 generated)
Daniel Bratell
PTAL
3 years, 9 months ago (2017-03-02 15:42:05 UTC) #2
fs
lgtm https://codereview.chromium.org/2730683004/diff/1/third_party/WebKit/Source/core/html/MediaFragmentURIParser.cpp File third_party/WebKit/Source/core/html/MediaFragmentURIParser.cpp (right): https://codereview.chromium.org/2730683004/diff/1/third_party/WebKit/Source/core/html/MediaFragmentURIParser.cpp#newcode260 third_party/WebKit/Source/core/html/MediaFragmentURIParser.cpp:260: const int secondsPerMinute = 60; Maybe just fold ...
3 years, 9 months ago (2017-03-02 15:52:16 UTC) #3
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/2730683004/20001
3 years, 9 months ago (2017-03-02 16:32:45 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/393201)
3 years, 9 months ago (2017-03-02 18:11:48 UTC) #8
fs
https://codereview.chromium.org/2730683004/diff/20001/third_party/WebKit/Source/core/html/track/vtt/VTTParser.cpp File third_party/WebKit/Source/core/html/track/vtt/VTTParser.cpp (right): https://codereview.chromium.org/2730683004/diff/20001/third_party/WebKit/Source/core/html/track/vtt/VTTParser.cpp#newcode442 third_party/WebKit/Source/core/html/track/vtt/VTTParser.cpp:442: const int secondsPerHour = 3600; This was double for ...
3 years, 9 months ago (2017-03-02 18:30:53 UTC) #9
Daniel Bratell
https://codereview.chromium.org/2730683004/diff/20001/third_party/WebKit/Source/core/html/track/vtt/VTTParser.cpp File third_party/WebKit/Source/core/html/track/vtt/VTTParser.cpp (right): https://codereview.chromium.org/2730683004/diff/20001/third_party/WebKit/Source/core/html/track/vtt/VTTParser.cpp#newcode442 third_party/WebKit/Source/core/html/track/vtt/VTTParser.cpp:442: const int secondsPerHour = 3600; On 2017/03/02 18:30:53, fs ...
3 years, 9 months ago (2017-03-02 19:53:16 UTC) #10
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/2730683004/40001
3 years, 9 months ago (2017-03-02 19:55:44 UTC) #13
fs
On 2017/03/02 at 19:53:16, bratell wrote: > https://codereview.chromium.org/2730683004/diff/20001/third_party/WebKit/Source/core/html/track/vtt/VTTParser.cpp > File third_party/WebKit/Source/core/html/track/vtt/VTTParser.cpp (right): > > https://codereview.chromium.org/2730683004/diff/20001/third_party/WebKit/Source/core/html/track/vtt/VTTParser.cpp#newcode442 ...
3 years, 9 months ago (2017-03-02 20:05:05 UTC) #14
commit-bot: I haz the power
3 years, 9 months ago (2017-03-02 21:39:16 UTC) #17
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/00df836c1618826e2a15678305ef...

Powered by Google App Engine
This is Rietveld 408576698