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

Unified Diff: remoting/base/decoder_row_based.h

Issue 7992011: Move us fully from gfx:: over to skia types for consistency. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix for bad DEPS Created 9 years, 3 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 2afd60e5efec1534260586dd0e36756477c7d54d..e47ed8952bac3caa9e9668476a5dec3842242c31 100644
--- a/remoting/base/decoder_row_based.h
+++ b/remoting/base/decoder_row_based.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 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();
virtual void Initialize(scoped_refptr<media::VideoFrame> frame);
virtual DecodeResult DecodePacket(const VideoPacket* packet);
- virtual void GetUpdatedRects(UpdatedRects* rects);
+ virtual void GetUpdatedRects(RectVector* rects);
virtual void Reset();
virtual VideoPacketFormat::Encoding Encoding();
@@ -46,7 +46,7 @@ class DecoderRowBased : public Decoder {
State state_;
// Keeps track of the updating rect.
- gfx::Rect clip_;
+ SkIRect clip_;
// The video frame to write to.
scoped_refptr<media::VideoFrame> frame_;
@@ -63,7 +63,7 @@ class DecoderRowBased : public Decoder {
// The current row in the rect that we are updaing.
int row_y_;
- UpdatedRects updated_rects_;
+ RectVector updated_rects_;
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