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

Issue 143983002: Rework end-of-value field handling in VTTRegion::parseSettingValue (Closed)

Created:
6 years, 11 months ago by fs
Modified:
6 years, 11 months ago
CC:
blink-reviews, nessy, philipj_slow, gasubic, fs, dglazkov+blink, adamk+blink_chromium.org, vcarbune.chromium
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Rework end-of-value field handling in VTTRegion::parseSettingValue Hoist the end-of-input/value check in VTTParser::parseFloatPercentageValuePair, and pass a Scanner directly to it. Open-code VTTParser::collectDigitsToInt in VTTRegion::parseSettingValue, and then remove the former. This leaves VTTLegacyScanner without any users, so remove it too. BUG=305317 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=165456

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -53 lines) Patch
M Source/core/html/track/vtt/VTTParser.h View 1 chunk +1 line, -2 lines 0 comments Download
M Source/core/html/track/vtt/VTTParser.cpp View 3 chunks +1 line, -12 lines 0 comments Download
M Source/core/html/track/vtt/VTTRegion.cpp View 1 chunk +16 lines, -6 lines 0 comments Download
M Source/core/html/track/vtt/VTTScanner.h View 1 chunk +0 lines, -33 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
fs
Jochen, another one to defer to Mike ;-)
6 years, 11 months ago (2014-01-21 12:00:24 UTC) #1
Mike West
On 2014/01/21 12:00:24, fs wrote: > Jochen, another one to defer to Mike ;-) I ...
6 years, 11 months ago (2014-01-21 12:10:19 UTC) #2
Mike West
Yay, no more legacyscanner! LGTM.
6 years, 11 months ago (2014-01-21 12:18:50 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fs@opera.com/143983002/1
6 years, 11 months ago (2014-01-21 12:38:42 UTC) #4
commit-bot: I haz the power
6 years, 11 months ago (2014-01-21 12:45:08 UTC) #5
Message was sent while issue was closed.
Change committed as 165456

Powered by Google App Engine
This is Rietveld 408576698