diff options
author | ronghuawu@chromium.org <ronghuawu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-23 23:18:53 +0000 |
---|---|---|
committer | ronghuawu@chromium.org <ronghuawu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-23 23:18:53 +0000 |
commit | 7eb2255d83ae3dc35ffbd458915c87886cfd82d2 (patch) | |
tree | 748b52cdc21efceb7121cf9bc8114cc52c6783c7 /content/renderer/pepper/pepper_video_source_host.cc | |
parent | f4091d3b1a64319592b2b13341c1d0d0360e3fb3 (diff) | |
download | chromium_src-7eb2255d83ae3dc35ffbd458915c87886cfd82d2.zip chromium_src-7eb2255d83ae3dc35ffbd458915c87886cfd82d2.tar.gz chromium_src-7eb2255d83ae3dc35ffbd458915c87886cfd82d2.tar.bz2 |
Clean up the receivers in VideoSourceHandler dtor in case the caller of VideoSourceHandler didn't do so.
BUG=323158
R=bbudge@chromium.org, perkj@chromium.org, wjia@chromium.org
Review URL: https://codereview.chromium.org/145353002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@246715 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/renderer/pepper/pepper_video_source_host.cc')
-rw-r--r-- | content/renderer/pepper/pepper_video_source_host.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/renderer/pepper/pepper_video_source_host.cc b/content/renderer/pepper/pepper_video_source_host.cc index c24057d..0c4b1c3 100644 --- a/content/renderer/pepper/pepper_video_source_host.cc +++ b/content/renderer/pepper/pepper_video_source_host.cc @@ -222,7 +222,7 @@ void PepperVideoSourceHost::SendGetFrameErrorReply(int32_t error) { void PepperVideoSourceHost::Close() { if (source_handler_.get() && !stream_url_.empty()) - source_handler_->Close(stream_url_, frame_receiver_.get()); + source_handler_->Close(frame_receiver_.get()); source_handler_.reset(NULL); stream_url_.clear(); |