Index: ui/gfx/blit.cc |
diff --git a/ui/gfx/blit.cc b/ui/gfx/blit.cc |
index 41da3f54f8a741365c62216ece2ee3d9be0ebd11..c6c8d6721fa888d4f4d9e45c05a4aa28fedb7c4b 100644 |
--- a/ui/gfx/blit.cc |
+++ b/ui/gfx/blit.cc |
@@ -9,6 +9,7 @@ |
#include "skia/ext/platform_canvas.h" |
#include "ui/gfx/point.h" |
#include "ui/gfx/rect.h" |
+#include "ui/gfx/vector2d.h" |
#if defined(OS_OPENBSD) |
#include <cairo.h> |
@@ -128,7 +129,7 @@ void BlitCanvasToCanvas(SkCanvas *dst_canvas, |
void ScrollCanvas(SkCanvas* canvas, |
const gfx::Rect& in_clip, |
- const gfx::Point& amount) { |
+ const gfx::Vector2d& amount) { |
DCHECK(!HasClipOrTransform(*canvas)); // Don't support special stuff. |
#if defined(OS_WIN) |
// If we have a PlatformCanvas, we should use ScrollDC. Otherwise, fall |