Index: views/view_unittest.cc |
=================================================================== |
--- views/view_unittest.cc (revision 50789) |
+++ views/view_unittest.cc (working copy) |
@@ -8,7 +8,7 @@ |
#include "base/keyboard_codes.h" |
#include "base/message_loop.h" |
#include "base/string_util.h" |
-#include "gfx/canvas_skia.h" |
+#include "gfx/canvas.h" |
#include "gfx/path.h" |
#include "testing/gtest/include/gtest/gtest.h" |
#include "views/background.h" |
@@ -81,7 +81,7 @@ |
// User isn't logged in, so that PaintNow will generate an empty rectangle. |
// Invoke paint directly. |
gfx::Rect paint_rect = root->GetScheduledPaintRect(); |
- gfx::CanvasSkia canvas(paint_rect.width(), paint_rect.height(), true); |
+ gfx::Canvas canvas(paint_rect.width(), paint_rect.height(), true); |
canvas.TranslateInt(-paint_rect.x(), -paint_rect.y()); |
canvas.ClipRectInt(0, 0, paint_rect.width(), paint_rect.height()); |
root->ProcessPaint(&canvas); |