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

Unified Diff: Source/core/html/TimeRanges.h

Issue 559993004: Fix TimeRanges::nearest() to actually calculate nearest time. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Comments. Created 6 years, 3 months 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 | « Source/core/html/HTMLMediaElement.cpp ('k') | Source/core/html/TimeRanges.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/TimeRanges.h
diff --git a/Source/core/html/TimeRanges.h b/Source/core/html/TimeRanges.h
index 1a685a7950016b2e12768f0367ad012bb5bf2aa2..1aa4dc2ce13a709e1b88944404106b3f311d09d6 100644
--- a/Source/core/html/TimeRanges.h
+++ b/Source/core/html/TimeRanges.h
@@ -109,7 +109,7 @@ public:
bool contain(double time) const;
- double nearest(double time) const;
+ double nearest(double newPlaybackPosition, double currentPlaybackPosition) const;
void trace(Visitor*);
« no previous file with comments | « Source/core/html/HTMLMediaElement.cpp ('k') | Source/core/html/TimeRanges.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698