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

Unified Diff: remoting/client/plugin/pepper_view.cc

Issue 4053006: Fix remoting to use scoped_refptr. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years, 2 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/plugin/pepper_view.cc
diff --git a/remoting/client/plugin/pepper_view.cc b/remoting/client/plugin/pepper_view.cc
index 9a10d1a5ab91367329f37216aaba71e640992dc5..f941b08e5639e482cc262ba2d64c2e139c8cf322 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,
Nico 2010/10/24 19:51:39 Hi Will, OnPartialFrameOutput takes a raw |frame|
+ make_scoped_refptr(frame), rects, done));
return;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698