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

Unified Diff: media/base/renderer.h

Issue 827013005: Avoid double task trampoline for Pipeline state transitions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleanup. Created 5 years, 11 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 | « media/base/pipeline_unittest.cc ('k') | media/filters/chunk_demuxer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/renderer.h
diff --git a/media/base/renderer.h b/media/base/renderer.h
index f909350a7d4e0c9f62168680f46152546e21b173..206a8d3b3d5b985a0f27ee9dd89312c8742e0e6c 100644
--- a/media/base/renderer.h
+++ b/media/base/renderer.h
@@ -30,8 +30,9 @@ class MEDIA_EXPORT Renderer {
// Initializes the Renderer with |demuxer_stream_provider|, executing
// |init_cb| upon completion. If initialization failed, fires |error_cb|
- // before |init_cb|. |demuxer_stream_provider| must be valid throughout the
- // lifetime of the Renderer object.
+ // before |init_cb|. |demuxer_stream_provider| must be valid throughout the
+ // lifetime of the Renderer object. |init_cb| must only be run after this
+ // method has returned.
//
// Permanent callbacks:
// - |statistics_cb|: Executed periodically with rendering statistics.
« no previous file with comments | « media/base/pipeline_unittest.cc ('k') | media/filters/chunk_demuxer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698