Index: content/browser/renderer_host/render_widget_host_unittest.cc |
diff --git a/content/browser/renderer_host/render_widget_host_unittest.cc b/content/browser/renderer_host/render_widget_host_unittest.cc |
index 4aaa302661fbbc84dc22d945dfba5de1f9920047..a279c88b7c323218b1acf088969713cc33c0e548 100644 |
--- a/content/browser/renderer_host/render_widget_host_unittest.cc |
+++ b/content/browser/renderer_host/render_widget_host_unittest.cc |
@@ -438,10 +438,10 @@ TEST_F(RenderWidgetHostTest, Background) { |
// Create a checkerboard background to test with. |
gfx::CanvasSkia canvas(gfx::Size(4, 4), true); |
- canvas.FillRect(SK_ColorBLACK, gfx::Rect(0, 0, 2, 2)); |
- canvas.FillRect(SK_ColorWHITE, gfx::Rect(2, 0, 2, 2)); |
- canvas.FillRect(SK_ColorWHITE, gfx::Rect(0, 2, 2, 2)); |
- canvas.FillRect(SK_ColorBLACK, gfx::Rect(2, 2, 2, 2)); |
+ canvas.FillRect(gfx::Rect(0, 0, 2, 2), SK_ColorBLACK); |
+ canvas.FillRect(gfx::Rect(2, 0, 2, 2), SK_ColorWHITE); |
+ canvas.FillRect(gfx::Rect(0, 2, 2, 2), SK_ColorWHITE); |
+ canvas.FillRect(gfx::Rect(2, 2, 2, 2), SK_ColorBLACK); |
const SkBitmap& background = |
canvas.sk_canvas()->getDevice()->accessBitmap(false); |