summaryrefslogtreecommitdiffstats
path: root/WebCore/html/TimeRanges.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/html/TimeRanges.h')
-rw-r--r--WebCore/html/TimeRanges.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/WebCore/html/TimeRanges.h b/WebCore/html/TimeRanges.h
index 6be8c4e..2d7af25 100644
--- a/WebCore/html/TimeRanges.h
+++ b/WebCore/html/TimeRanges.h
@@ -55,6 +55,8 @@ public:
void add(float start, float end);
bool contain(float time) const;
+
+ float nearest(float time) const;
private:
TimeRanges() { }