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

Issue 65343003: Make metadata state local in the WebVTT parser (Closed)

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

Description

Make metadata state local in the WebVTT parser The members m_currentHeaderName and m_currentHeaderValue are only used within the scope of WebVTTParser::collectMetadataHeader, so there's no need to keep them in instance scope. Make them local to said method, and pass the value explicitly to its users. BUG=305317 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=161922

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -11 lines) Patch
M Source/core/html/track/WebVTTParser.h View 1 chunk +1 line, -4 lines 0 comments Download
M Source/core/html/track/WebVTTParser.cpp View 2 chunks +7 lines, -7 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
fs
7 years, 1 month ago (2013-11-08 17:36:35 UTC) #1
jochen (gone - plz use gerrit)
lgtm Could you in the future start tryjobs on your issues? It gives me a ...
7 years, 1 month ago (2013-11-11 12:26:17 UTC) #2
fs
On 2013/11/11 12:26:17, jochen wrote: > lgtm > > Could you in the future start ...
7 years, 1 month ago (2013-11-11 12:41:12 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/65343003/1
7 years, 1 month ago (2013-11-11 12:41:30 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/65343003/1
7 years, 1 month ago (2013-11-13 14:27:01 UTC) #5
commit-bot: I haz the power
7 years, 1 month ago (2013-11-13 15:08:08 UTC) #6
Message was sent while issue was closed.
Change committed as 161922

Powered by Google App Engine
This is Rietveld 408576698