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

Unified Diff: media/base/clock.h

Issue 9582017: Change Clock::SetMaxTime() to be safe even in the presence of slow pipelines. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 10 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 | « no previous file | media/base/clock.cc » ('j') | media/base/clock.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/clock.h
diff --git a/media/base/clock.h b/media/base/clock.h
index 2854cb8ea31e4839d89642e6f8e321c56ed3f635..a5dff4d9c8f1593e87e6bcd5311b0155c4ff9229 100644
--- a/media/base/clock.h
+++ b/media/base/clock.h
@@ -56,8 +56,7 @@ class MEDIA_EXPORT Clock {
// set to 0 (before SetDuration() is called).
void SetTime(base::TimeDelta current_time, base::TimeDelta max_time);
- // Sets the |max_time| to be returned by a call to Elapsed(). |max_time| must
- // be greater than or equal to the current Elapsed() time.
+ // Sets the |max_time| to be returned by a call to Elapsed().
void SetMaxTime(base::TimeDelta max_time);
// Returns the current elapsed media time. Returns 0 if SetDuration() has
« no previous file with comments | « no previous file | media/base/clock.cc » ('j') | media/base/clock.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698