diff options
Diffstat (limited to 'remoting/base/encoder_row_based.h')
-rw-r--r-- | remoting/base/encoder_row_based.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/remoting/base/encoder_row_based.h b/remoting/base/encoder_row_based.h index d453ffb..6da2cd5 100644 --- a/remoting/base/encoder_row_based.h +++ b/remoting/base/encoder_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. @@ -7,8 +7,8 @@ #include "remoting/base/encoder.h" #include "remoting/proto/video.pb.h" - -#include "ui/gfx/rect.h" +#include "third_party/skia/include/core/SkRect.h" +#include "ui/gfx/size.h" namespace remoting { @@ -41,10 +41,10 @@ class EncoderRowBased : public Encoder { int packet_size); // Encode a single dirty rect using compressor. - void EncodeRect(const gfx::Rect& rect, bool last); + void EncodeRect(const SkIRect& rect, bool last); // Marks a packet as the first in a series of rectangle updates. - void PrepareUpdateStart(const gfx::Rect& rect, VideoPacket* packet); + void PrepareUpdateStart(const SkIRect& rect, VideoPacket* packet); // Retrieves a pointer to the output buffer in |update| used for storing the // encoded rectangle data. Will resize the buffer to |size|. |