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

Issue 75233002: Don't find(':') twice in WebVTTParser::collectMetadataHeader (Closed)

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

Description

Don't find(':') twice in WebVTTParser::collectMetadataHeader Since contains(':') is the equivalent of a find(':') - except it throws away the result - and the result might be of interest later on, just call find(':') once instead, and remove the call to contains(...) (essentially open-coding it.) BUG=305317 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=162202

Patch Set 1 #

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

Messages

Total messages: 4 (0 generated)
fs
7 years, 1 month ago (2013-11-18 12:50:14 UTC) #1
jochen (gone - plz use gerrit)
lgtm
7 years, 1 month ago (2013-11-18 12:51:06 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fs@opera.com/75233002/1
7 years, 1 month ago (2013-11-18 13:09:51 UTC) #3
commit-bot: I haz the power
7 years, 1 month ago (2013-11-18 14:01:32 UTC) #4
Message was sent while issue was closed.
Change committed as 162202

Powered by Google App Engine
This is Rietveld 408576698