Index: chrome/browser/ntp_background_util.h |
diff --git a/chrome/browser/ntp_background_util.h b/chrome/browser/ntp_background_util.h |
index a9558ec47ce08287c698a09cddc4c148fbe0ca4a..04d8d512f2afee791d459e66da163eccef7c0f89 100644 |
--- a/chrome/browser/ntp_background_util.h |
+++ b/chrome/browser/ntp_background_util.h |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2009 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
@@ -7,7 +7,7 @@ |
#pragma once |
namespace gfx { |
-class Canvas; |
+class CanvasSkia; |
class Rect; |
} |
@@ -21,9 +21,10 @@ class NtpBackgroundUtil { |
// that gets painted and also serves as the origin of the image (for top- |
// aligned images). |tab_contents_height| is necessary for correctly painting |
// bottom-aligned images since then the origin is the bottom of the web page. |
- static void PaintBackgroundDetachedMode( |
- ui::ThemeProvider* tp, gfx::Canvas* canvas, |
- const gfx::Rect& area, int tab_contents_height); |
+ static void PaintBackgroundDetachedMode(ui::ThemeProvider* tp, |
+ gfx::CanvasSkia* canvas, |
+ const gfx::Rect& area, |
+ int tab_contents_height); |
private: |
NtpBackgroundUtil() {} |