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

Unified Diff: Source/core/html/track/WebVTTParser.h

Issue 65343003: Make metadata state local in the WebVTT parser (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/core/html/track/WebVTTParser.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/track/WebVTTParser.h
diff --git a/Source/core/html/track/WebVTTParser.h b/Source/core/html/track/WebVTTParser.h
index d6a6573a9258bcab24b923571e4af524fa7938d5..27e026883ecc54fd9dd363014b8a2dc3672f897c 100644
--- a/Source/core/html/track/WebVTTParser.h
+++ b/Source/core/html/track/WebVTTParser.h
@@ -130,13 +130,10 @@ private:
void resetCueValues();
void collectMetadataHeader(const String&);
- void createNewRegion();
+ void createNewRegion(const String& headerValue);
void skipWhiteSpace(const String&, unsigned*);
- String m_currentHeaderName;
- String m_currentHeaderValue;
-
BufferedLineReader m_lineReader;
RefPtr<TextResourceDecoder> m_decoder;
String m_currentId;
« no previous file with comments | « no previous file | Source/core/html/track/WebVTTParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698