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

Unified Diff: content/renderer/media/android/media_source_delegate.cc

Issue 1235793005: Deprecate LogCB in favor of using MediaLog (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments and attempt to fix Android compilation Created 5 years, 5 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/media_log.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/android/media_source_delegate.cc
diff --git a/content/renderer/media/android/media_source_delegate.cc b/content/renderer/media/android/media_source_delegate.cc
index 5d4aca1baba5b880f93c415fe3e81c09a08ebc32..62edeca8c42eda1c97f4d9f48e8632e326fecafb 100644
--- a/content/renderer/media/android/media_source_delegate.cc
+++ b/content/renderer/media/android/media_source_delegate.cc
@@ -165,8 +165,7 @@ void MediaSourceDelegate::InitializeMediaSource(
base::Bind(&MediaSourceDelegate::OnDemuxerOpened, main_weak_this_)),
media::BindToCurrentLoop(base::Bind(
&MediaSourceDelegate::OnEncryptedMediaInitData, main_weak_this_)),
- base::Bind(&media::MediaLog::AddLogEvent, media_log_), media_log_,
- false));
+ media_log_, false));
// |this| will be retained until StopDemuxer() is posted, so Unretained() is
// safe here.
@@ -664,9 +663,8 @@ void MediaSourceDelegate::OnDemuxerOpened() {
if (media_source_opened_cb_.is_null())
return;
- media_source_opened_cb_.Run(new media::WebMediaSourceImpl(
- chunk_demuxer_.get(),
- base::Bind(&media::MediaLog::AddLogEvent, media_log_)));
+ media_source_opened_cb_.Run(
+ new media::WebMediaSourceImpl(chunk_demuxer_.get(), media_log_));
}
void MediaSourceDelegate::OnEncryptedMediaInitData(
« no previous file with comments | « no previous file | media/base/media_log.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698