Index: content/renderer/pepper/pepper_video_source_host.cc |
diff --git a/content/renderer/pepper/pepper_video_source_host.cc b/content/renderer/pepper/pepper_video_source_host.cc |
index bdbe26608e9137cbbcf366a1a6ccfe9b49c05045..47b5033e043479d72b8fccf85f4c4abf6217cf36 100644 |
--- a/content/renderer/pepper/pepper_video_source_host.cc |
+++ b/content/renderer/pepper/pepper_video_source_host.cc |
@@ -50,7 +50,7 @@ bool PepperVideoSourceHost::FrameReceiver::GotFrame( |
void PepperVideoSourceHost::FrameReceiver::OnGotFrame( |
scoped_ptr<cricket::VideoFrame> frame) { |
- if (host_) { |
+ if (host_.get()) { |
// Take ownership of the new frame, and possibly delete any unsent one. |
host_->last_frame_.swap(frame); |