Index: Source/core/html/track/vtt/VTTParser.h |
diff --git a/Source/core/html/track/vtt/VTTParser.h b/Source/core/html/track/vtt/VTTParser.h |
index c060677640db86ba1252c40eb859bd145a787807..df4e584cae96bfdada76062a346294908d2e74e0 100644 |
--- a/Source/core/html/track/vtt/VTTParser.h |
+++ b/Source/core/html/track/vtt/VTTParser.h |
@@ -95,11 +95,11 @@ public: |
} |
static unsigned collectDigitsToInt(const String& input, unsigned* position, int& number); |
static String collectWord(const String&, unsigned*); |
- static double collectTimeStamp(const String&, unsigned*); |
+ static bool collectTimeStamp(const String&, unsigned*, double& timeStamp); |
// Useful functions for parsing percentage settings. |
- static float parseFloatPercentageValue(const String&, bool&); |
- static FloatPoint parseFloatPercentageValuePair(const String&, char, bool&); |
+ static bool parseFloatPercentageValue(const String&, float&); |
+ static bool parseFloatPercentageValuePair(const String&, char, FloatPoint&); |
// Create the DocumentFragment representation of the WebVTT cue text. |
static PassRefPtr<DocumentFragment> createDocumentFragmentFromCueText(Document&, const String&); |