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

Unified Diff: content/renderer/media/rtc_encoding_video_capturer.cc

Issue 18308004: Update CrOS to use scoped_refptr<T>::get() rather than implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 6 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 | « content/browser/web_contents/web_contents_view_aura.cc ('k') | ui/aura/window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/rtc_encoding_video_capturer.cc
diff --git a/content/renderer/media/rtc_encoding_video_capturer.cc b/content/renderer/media/rtc_encoding_video_capturer.cc
index 87367efde151b54eb9bd41405b8be6fad07eb595..ff022d44fca6a42c8b9a13f61615a094e327a1a4 100644
--- a/content/renderer/media/rtc_encoding_video_capturer.cc
+++ b/content/renderer/media/rtc_encoding_video_capturer.cc
@@ -97,7 +97,7 @@ void RtcEncodingVideoCapturer::EncodedVideoSourceClient::OnClosed() {
void RtcEncodingVideoCapturer::EncodedVideoSourceClient::OnBufferReady(
scoped_refptr<const media::EncodedBitstreamBuffer> buffer) {
- DCHECK(!finished_ && buffer);
+ DCHECK(!finished_ && buffer.get());
// First buffer constitutes the origin of the time for this bitstream context.
if (time_base_.is_null())
« no previous file with comments | « content/browser/web_contents/web_contents_view_aura.cc ('k') | ui/aura/window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698