commit | 002ac98f76c033e11042eceb7b79af4ac16d492c | [log] [tgz] |
---|---|---|
author | fs@opera.com <fs@opera.com@bbb929c8-8fbe-4397-9dbb-9b2b20218538> | Mon Nov 18 14:01:26 2013 |
committer | fs@opera.com <fs@opera.com@bbb929c8-8fbe-4397-9dbb-9b2b20218538> | Mon Nov 18 14:01:26 2013 |
tree | 2feac1980229f9c93d9c43bbcdd84e0eb792ff02 | |
parent | 4233ca363b07aa1d8408398a90f4a10289fa3baf [diff] |
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 Review URL: https://codereview.chromium.org/75233002 git-svn-id: svn://svn.chromium.org/blink/trunk@162202 bbb929c8-8fbe-4397-9dbb-9b2b20218538