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

Issue 1360203002: Fix media element time display for times over an hour. (Closed)

Created:
5 years, 3 months ago by liberato (no reviews please)
Modified:
5 years, 2 months ago
CC:
blink-reviews, pdr+renderingwatchlist_chromium.org, szager+layoutwatch_chromium.org, zoltan1, mlamouri+watch-blink_chromium.org, blink-reviews-layout_chromium.org, philipj_slow, eae+blinkwatch, leviw+renderwatch, eric.carlson_apple.com, vivekg, feature-media-reviews_chromium.org, vivekg_samsung, Inactive, jchaffraix+rendering
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix media element time display for times over an hour. Moves a misplaced modulo so that hours can become nonzero when constructing the time and duration strings for HTMLMediaElement. Also added a test for it. BUG=535046

Patch Set 1 #

Total comments: 1

Patch Set 2 : rebased after blink merge. #

Patch Set 3 : ...now with all the files. #

Patch Set 4 : now as a unit test #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -1 line) Patch
M third_party/WebKit/Source/core/layout/LayoutTheme.cpp View 1 2 3 2 chunks +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutThemeTest.cpp View 1 2 3 1 chunk +51 lines, -0 lines 1 comment Download

Messages

Total messages: 9 (1 generated)
liberato (no reviews please)
haven't tried on a device yet (wfh) but the new test went from failing to ...
5 years, 3 months ago (2015-09-23 15:53:24 UTC) #2
DaleCurtis
blink merge is still in progress, so I think you'll need to manually redo this ...
5 years, 3 months ago (2015-09-23 16:15:07 UTC) #3
liberato (no reviews please)
moved over to tolkien*-repo. -fl * one repo to hold the code. one repo to ...
5 years, 3 months ago (2015-09-24 06:00:48 UTC) #4
DaleCurtis
Love your commit comments :) LayoutTheme.cpp lgtm of course, but defer to philipj@ for test ...
5 years, 3 months ago (2015-09-24 17:05:52 UTC) #5
philipj_slow
The fix LGTM, but the test is basically a unit test, so if it could ...
5 years, 2 months ago (2015-09-25 07:45:21 UTC) #6
liberato (no reviews please)
it's now a two file CL. thanks, philipj! -fl
5 years, 2 months ago (2015-09-25 16:03:56 UTC) #7
DaleCurtis
https://codereview.chromium.org/1360203002/diff/60001/third_party/WebKit/Source/core/layout/LayoutThemeTest.cpp File third_party/WebKit/Source/core/layout/LayoutThemeTest.cpp (right): https://codereview.chromium.org/1360203002/diff/60001/third_party/WebKit/Source/core/layout/LayoutThemeTest.cpp#newcode132 third_party/WebKit/Source/core/layout/LayoutThemeTest.cpp:132: for (unsigned i = 0; i < sizeof(tests) / ...
5 years, 2 months ago (2015-09-25 16:49:25 UTC) #8
liberato (no reviews please)
5 years, 2 months ago (2015-09-25 16:53:31 UTC) #9
Message was sent while issue was closed.
On 2015/09/25 16:49:25, DaleCurtis wrote:
>
https://codereview.chromium.org/1360203002/diff/60001/third_party/WebKit/Sour...
> File third_party/WebKit/Source/core/layout/LayoutThemeTest.cpp (right):
> 
>
https://codereview.chromium.org/1360203002/diff/60001/third_party/WebKit/Sour...
> third_party/WebKit/Source/core/layout/LayoutThemeTest.cpp:132: for (unsigned i
=
> 0; i < sizeof(tests) / sizeof(tests[0]); i++)  {
> for (const auto& expectation : tests) ?

thanks.

also, i moved this over to https://codereview.chromium.org/1369763002/
post-merge.

-fl

Powered by Google App Engine
This is Rietveld 408576698