summaryrefslogtreecommitdiffstats
path: root/views/controls/image_view.h
diff options
context:
space:
mode:
Diffstat (limited to 'views/controls/image_view.h')
-rw-r--r--views/controls/image_view.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/views/controls/image_view.h b/views/controls/image_view.h
index ca4e2ea..0ad8947 100644
--- a/views/controls/image_view.h
+++ b/views/controls/image_view.h
@@ -8,7 +8,9 @@
#include "third_party/skia/include/core/SkBitmap.h"
#include "views/view.h"
-class ChromeCanvas;
+namespace gfx {
+class Canvas;
+}
namespace views {
@@ -71,7 +73,7 @@ class ImageView : public View {
// Return whether the image should be centered inside the view.
// Overriden from View
virtual gfx::Size GetPreferredSize();
- virtual void Paint(ChromeCanvas* canvas);
+ virtual void Paint(gfx::Canvas* canvas);
// Overriden from View.
virtual bool GetTooltipText(int x, int y, std::wstring* tooltip);