diff options
author | dmaclach@chromium.org <dmaclach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-11 05:08:49 +0000 |
---|---|---|
committer | dmaclach@chromium.org <dmaclach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-11 05:08:49 +0000 |
commit | 274e372af7a6d457e4773fdce215e3e6d70efcea (patch) | |
tree | 407836ad1a4f7a34fa14c8ff045e833d90b9b1d5 /remoting/host/x_server_pixel_buffer.h | |
parent | 418b75e0f077a184e6f1ae81f7e41e98454706dd (diff) | |
download | chromium_src-274e372af7a6d457e4773fdce215e3e6d70efcea.zip chromium_src-274e372af7a6d457e4773fdce215e3e6d70efcea.tar.gz chromium_src-274e372af7a6d457e4773fdce215e3e6d70efcea.tar.bz2 |
Switch over to using SkRegions to calculate dirty areas.
BUG=91619
TEST=Set up a remoting sesssion and make sure it works.
Review URL: http://codereview.chromium.org/7491070
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96327 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host/x_server_pixel_buffer.h')
-rw-r--r-- | remoting/host/x_server_pixel_buffer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/remoting/host/x_server_pixel_buffer.h b/remoting/host/x_server_pixel_buffer.h index 49012f1..161beab 100644 --- a/remoting/host/x_server_pixel_buffer.h +++ b/remoting/host/x_server_pixel_buffer.h @@ -9,7 +9,7 @@ #include "base/basictypes.h" #include "base/memory/scoped_ptr.h" -#include "ui/gfx/rect.h" +#include "third_party/skia/include/core/SkRect.h" #include <X11/Xutil.h> #include <X11/extensions/XShm.h> @@ -38,7 +38,7 @@ class XServerPixelBuffer { // call to CaptureRect. // In the case where the full-screen data is captured by Synchronize(), this // simply returns the pointer without doing any more work. - uint8* CaptureRect(const gfx::Rect& rect); + uint8* CaptureRect(const SkIRect& rect); // Return information about the most recent capture. This is only guaranteed // to be valid between CaptureRect calls. |