summaryrefslogtreecommitdiffstats
path: root/media/base
diff options
context:
space:
mode:
authorfischman@chromium.org <fischman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-16 17:33:21 +0000
committerfischman@chromium.org <fischman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-16 17:33:21 +0000
commitec412b6091ecf146a8ceb17797528e09c9fe0f05 (patch)
tree47d2ddabe357b5cf751fd896ceee6adb17e76b74 /media/base
parent81781d3999b5512461d014aba1fa31c3e17fb75d (diff)
downloadchromium_src-ec412b6091ecf146a8ceb17797528e09c9fe0f05.zip
chromium_src-ec412b6091ecf146a8ceb17797528e09c9fe0f05.tar.gz
chromium_src-ec412b6091ecf146a8ceb17797528e09c9fe0f05.tar.bz2
Stop leaking callbacks in pipeline_impl_unittest.cc
BUG=none TEST=media_unittests under valgrind stops complaining about leaked memory in PipelineStatusNotification's tests. TBR=acolwell git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78389 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/base')
-rw-r--r--media/base/pipeline_impl_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/base/pipeline_impl_unittest.cc b/media/base/pipeline_impl_unittest.cc
index 980fa8d..c5593f3 100644
--- a/media/base/pipeline_impl_unittest.cc
+++ b/media/base/pipeline_impl_unittest.cc
@@ -781,7 +781,7 @@ class FlexibleCallbackRunner : public base::DelegateSimpleThread::Delegate {
private:
int delayInMs_;
PipelineStatus status_;
- PipelineStatusCallback* callback_;
+ scoped_ptr<PipelineStatusCallback> callback_;
};
void TestPipelineStatusNotification(int delayInMs) {