Index: chrome/browser/views/sad_tab_view.cc |
=================================================================== |
--- chrome/browser/views/sad_tab_view.cc (revision 50452) |
+++ chrome/browser/views/sad_tab_view.cc (working copy) |
@@ -8,6 +8,7 @@ |
#include "app/resource_bundle.h" |
#include "chrome/browser/tab_contents/tab_contents.h" |
#include "gfx/canvas.h" |
+#include "gfx/canvas_skia.h" |
#include "gfx/size.h" |
#include "gfx/skia_util.h" |
#include "grit/generated_resources.h" |
@@ -89,7 +90,7 @@ |
int title_height = title_font_->height(); |
title_bounds_.SetRect(title_x, title_y, title_width_, title_height); |
- gfx::Canvas cc(0, 0, true); |
+ gfx::CanvasSkia cc(0, 0, true); |
int message_width = static_cast<int>(width() * kMessageSize); |
int message_height = 0; |
cc.SizeStringInt(message_, *message_font_, &message_width, &message_height, |