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

Unified Diff: media/filters/frame_processor.cc

Issue 506683002: Remove implicit conversions from scoped_refptr to T* in media/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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
Index: media/filters/frame_processor.cc
diff --git a/media/filters/frame_processor.cc b/media/filters/frame_processor.cc
index 6d98e8b13abc8d28910b8378242d6a9eab04514a..dae8577e8f6c9f0b913982c9be0d812d3a9345d7 100644
--- a/media/filters/frame_processor.cc
+++ b/media/filters/frame_processor.cc
@@ -356,7 +356,7 @@ bool FrameProcessor::HandlePartialAppendWindowTrimming(
// If we have a preroll buffer see if we can attach it to the first buffer
// overlapping or after |append_window_start|.
- if (audio_preroll_buffer_) {
+ if (audio_preroll_buffer_.get()) {
// We only want to use the preroll buffer if it directly precedes (less
// than one sample apart) the current buffer.
const int64 delta = std::abs((audio_preroll_buffer_->timestamp() +

Powered by Google App Engine
This is Rietveld 408576698