Index: remoting/base/encoder_row_based.h |
=================================================================== |
--- remoting/base/encoder_row_based.h (revision 96327) |
+++ remoting/base/encoder_row_based.h (working copy) |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2010 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,9 +7,9 @@ |
#include "remoting/base/encoder.h" |
#include "remoting/proto/video.pb.h" |
-#include "third_party/skia/include/core/SkRect.h" |
-#include "ui/gfx/size.h" |
+#include "ui/gfx/rect.h" |
+ |
namespace remoting { |
class Compressor; |
@@ -41,10 +41,10 @@ |
int packet_size); |
// Encode a single dirty rect using compressor. |
- void EncodeRect(const SkIRect& rect, bool last); |
+ void EncodeRect(const gfx::Rect& rect, bool last); |
// Marks a packet as the first in a series of rectangle updates. |
- void PrepareUpdateStart(const SkIRect& rect, VideoPacket* packet); |
+ void PrepareUpdateStart(const gfx::Rect& 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|. |