Index: trunk/src/media/cast/cast_thread.cc |
=================================================================== |
--- trunk/src/media/cast/cast_thread.cc (revision 226266) |
+++ trunk/src/media/cast/cast_thread.cc (working copy) |
@@ -25,8 +25,6 @@ |
DCHECK(main_thread_proxy) << "Main thread required"; |
} |
-CastThread::~CastThread() {} |
- |
bool CastThread::PostTask(ThreadId identifier, |
const tracked_objects::Location& from_here, |
const base::Closure& task) { |
@@ -59,9 +57,6 @@ |
return video_encode_thread_proxy_; |
case CastThread::VIDEO_DECODER: |
return video_decode_thread_proxy_; |
- default: |
- CHECK(false) << "Invalid Thread ID."; |
- return NULL; |
} |
} |
@@ -78,8 +73,7 @@ |
case CastThread::VIDEO_DECODER: |
return video_decode_thread_proxy_->RunsTasksOnCurrentThread(); |
default: |
- CHECK(false) << "Wrong thread identifier"; |
- return false; |
+ DCHECK(false) << "Wrong thread identifier"; |
} |
} |