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 047e620801a0f86182f75f24c39abbd7a3f730cd..50d3d7f65e29d36e9a7af1f3236c79285cd581ea 100644 |
--- a/content/browser/renderer_host/render_widget_host_unittest.cc |
+++ b/content/browser/renderer_host/render_widget_host_unittest.cc |
@@ -10,12 +10,12 @@ |
#include "content/browser/renderer_host/backing_store.h" |
#include "content/browser/renderer_host/test_render_view_host.h" |
#include "content/common/view_messages.h" |
+#include "content/public/browser/content_browser_client.h" |
#include "content/public/browser/notification_details.h" |
#include "content/public/browser/notification_observer.h" |
#include "content/public/browser/notification_registrar.h" |
#include "content/public/browser/notification_source.h" |
#include "content/public/browser/notification_types.h" |
-#include "content/public/browser/content_browser_client.h" |
#include "content/test/test_browser_context.h" |
#include "testing/gtest/include/gtest/gtest.h" |
#include "ui/base/keycodes/keyboard_codes.h" |
@@ -428,10 +428,10 @@ TEST_F(RenderWidgetHostTest, Background) { |
// Create a checkerboard background to test with. |
gfx::CanvasSkia canvas(4, 4, true); |
- canvas.FillRectInt(SK_ColorBLACK, 0, 0, 2, 2); |
- canvas.FillRectInt(SK_ColorWHITE, 2, 0, 2, 2); |
- canvas.FillRectInt(SK_ColorWHITE, 0, 2, 2, 2); |
- canvas.FillRectInt(SK_ColorBLACK, 2, 2, 2, 2); |
+ 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)); |
const SkBitmap& background = |
canvas.sk_canvas()->getDevice()->accessBitmap(false); |