summaryrefslogtreecommitdiffstats
path: root/remoting
diff options
context:
space:
mode:
authorwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-23 00:49:35 +0000
committerwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-23 00:49:35 +0000
commitb133a99d724642524f7adadabc7565a1eff4cef5 (patch)
treed344474f7e34b9ec7d935dae0d5fb0c76a5db976 /remoting
parent6077a01022957200646ae74b40ee7ab499b99e72 (diff)
downloadchromium_src-b133a99d724642524f7adadabc7565a1eff4cef5.zip
chromium_src-b133a99d724642524f7adadabc7565a1eff4cef5.tar.gz
chromium_src-b133a99d724642524f7adadabc7565a1eff4cef5.tar.bz2
Fix remoting to use scoped_refptr.
BUG=28083 TEST=existing Review URL: http://codereview.chromium.org/4053006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63603 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting')
-rw-r--r--remoting/client/plugin/pepper_view.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/remoting/client/plugin/pepper_view.cc b/remoting/client/plugin/pepper_view.cc
index 9a10d1a..f941b08 100644
--- a/remoting/client/plugin/pepper_view.cc
+++ b/remoting/client/plugin/pepper_view.cc
@@ -220,9 +220,9 @@ void PepperView::OnPartialFrameOutput(media::VideoFrame* frame,
UpdatedRects* rects,
Task* done) {
if (!instance_->CurrentlyOnPluginThread()) {
- RunTaskOnPluginThread(NewTracedMethod(this,
- &PepperView::OnPartialFrameOutput,
- frame, rects, done));
+ RunTaskOnPluginThread(
+ NewTracedMethod(this, &PepperView::OnPartialFrameOutput,
+ make_scoped_refptr(frame), rects, done));
return;
}