Index: trunk/src/content/browser/renderer_host/render_widget_host_unittest.cc |
=================================================================== |
--- trunk/src/content/browser/renderer_host/render_widget_host_unittest.cc (revision 224498) |
+++ trunk/src/content/browser/renderer_host/render_widget_host_unittest.cc (working copy) |
@@ -990,7 +990,7 @@ |
host_->SetView(view.get()); |
// Create a checkerboard background to test with. |
- gfx::Canvas canvas(gfx::Size(4, 4), 1.0f, true); |
+ gfx::Canvas canvas(gfx::Size(4, 4), ui::SCALE_FACTOR_100P, true); |
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); |