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

Unified Diff: remoting/client/frame_consumer_proxy.cc

Issue 9277001: Replace RectVectors with SkRegions in Decoder. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Pick nits. Created 8 years, 11 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 | « remoting/client/frame_consumer_proxy.h ('k') | remoting/client/plugin/pepper_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/frame_consumer_proxy.cc
diff --git a/remoting/client/frame_consumer_proxy.cc b/remoting/client/frame_consumer_proxy.cc
index 3f7890af3d9a84f98592506ead6fa40f3f863773..fcf1f0e6d2366b291317ab19a330f060a822a5ed 100644
--- a/remoting/client/frame_consumer_proxy.cc
+++ b/remoting/client/frame_consumer_proxy.cc
@@ -48,17 +48,17 @@ void FrameConsumerProxy::ReleaseFrame(media::VideoFrame* frame) {
}
void FrameConsumerProxy::OnPartialFrameOutput(media::VideoFrame* frame,
- RectVector* rects,
+ SkRegion* region,
const base::Closure& done) {
if (!frame_consumer_message_loop_->BelongsToCurrentThread()) {
frame_consumer_message_loop_->PostTask(FROM_HERE, base::Bind(
&FrameConsumerProxy::OnPartialFrameOutput, this,
- make_scoped_refptr(frame), rects, done));
+ make_scoped_refptr(frame), region, done));
return;
}
if (frame_consumer_)
- frame_consumer_->OnPartialFrameOutput(frame, rects, done);
+ frame_consumer_->OnPartialFrameOutput(frame, region, done);
}
void FrameConsumerProxy::Detach() {
« no previous file with comments | « remoting/client/frame_consumer_proxy.h ('k') | remoting/client/plugin/pepper_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698