diff options
author | wez@chromium.org <wez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-29 03:45:17 +0000 |
---|---|---|
committer | wez@chromium.org <wez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-29 03:45:17 +0000 |
commit | a9c88d1dec9f3532e16b8a7c80ff918a57e548c5 (patch) | |
tree | 0be954e8dc70f8c11e193f1ff6012ca731820852 /remoting/base/decoder_row_based.h | |
parent | efcbe466225a33f01ec1d0ae6b65ff665cada2c5 (diff) | |
download | chromium_src-a9c88d1dec9f3532e16b8a7c80ff918a57e548c5.zip chromium_src-a9c88d1dec9f3532e16b8a7c80ff918a57e548c5.tar.gz chromium_src-a9c88d1dec9f3532e16b8a7c80ff918a57e548c5.tar.bz2 |
Replace RectVectors with SkRegions in Decoder.
BUG=105401
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=118790
Review URL: http://codereview.chromium.org/9277001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119632 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/base/decoder_row_based.h')
-rw-r--r-- | remoting/base/decoder_row_based.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/remoting/base/decoder_row_based.h b/remoting/base/decoder_row_based.h index 7086c7b..183086c 100644 --- a/remoting/base/decoder_row_based.h +++ b/remoting/base/decoder_row_based.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -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); }; |