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

Unified Diff: media/filters/video_renderer_impl.h

Issue 276593007: Replace VideoRendererImpl's kError state with a CHECK(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 7 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/filters/video_renderer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/video_renderer_impl.h
diff --git a/media/filters/video_renderer_impl.h b/media/filters/video_renderer_impl.h
index 8980447b2bb62b746652c1f70251c119d96ef951..cf4061b03f6881d8a15a1c266e71df9277ecba54 100644
--- a/media/filters/video_renderer_impl.h
+++ b/media/filters/video_renderer_impl.h
@@ -154,7 +154,7 @@ class MEDIA_EXPORT VideoRendererImpl
base::ConditionVariable frame_available_;
// State transition Diagram of this class:
- // [kUninitialized] -------> [kError]
+ // [kUninitialized]
// |
// | Initialize()
// [kInitializing]
@@ -173,7 +173,7 @@ class MEDIA_EXPORT VideoRendererImpl
// | Pause() ^ Pause()
// | |
// +-----> [kStopped] [Any state other than]
- // [kUninitialized/kError]
+ // [ kUninitialized ]
// Simple state tracking variable.
enum State {
@@ -186,7 +186,6 @@ class MEDIA_EXPORT VideoRendererImpl
kPrerolling,
kPlaying,
kStopped,
- kError,
};
State state_;
« no previous file with comments | « no previous file | media/filters/video_renderer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698