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

Unified Diff: remoting/base/decoder_row_based.h

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/base/decoder.h ('k') | remoting/base/decoder_row_based.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/base/decoder_row_based.h
diff --git a/remoting/base/decoder_row_based.h b/remoting/base/decoder_row_based.h
index 7086c7b411ac758ae0aa1ce8426662147327350a..3cd2ddeda23cf59be277e06bfa4cd9a362f35f83 100644
--- a/remoting/base/decoder_row_based.h
+++ b/remoting/base/decoder_row_based.h
@@ -22,7 +22,7 @@ class DecoderRowBased : public Decoder {
virtual bool IsReadyForData() OVERRIDE;
virtual void Initialize(scoped_refptr<media::VideoFrame> frame) OVERRIDE;
virtual DecodeResult DecodePacket(const VideoPacket* packet) OVERRIDE;
- virtual void GetUpdatedRects(RectVector* rects) OVERRIDE;
+ virtual void GetUpdatedRegion(SkRegion* region) OVERRIDE;
virtual void Reset() OVERRIDE;
virtual VideoPacketFormat::Encoding Encoding() OVERRIDE;
@@ -63,7 +63,7 @@ class DecoderRowBased : public Decoder {
// The current row in the rect that we are updaing.
int row_y_;
- RectVector updated_rects_;
+ SkRegion updated_region_;
DISALLOW_COPY_AND_ASSIGN(DecoderRowBased);
};
« no previous file with comments | « remoting/base/decoder.h ('k') | remoting/base/decoder_row_based.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698