Index: gfx/font_mac.mm |
=================================================================== |
--- gfx/font_mac.mm (revision 50661) |
+++ gfx/font_mac.mm (working copy) |
@@ -9,7 +9,7 @@ |
#include "base/logging.h" |
#include "base/scoped_nsobject.h" |
#include "base/sys_string_conversions.h" |
-#include "gfx/canvas.h" |
+#include "gfx/canvas_skia.h" |
namespace gfx { |
@@ -60,7 +60,8 @@ |
int Font::GetStringWidth(const std::wstring& text) const { |
int width = 0, height = 0; |
- Canvas::SizeStringInt(text, *this, &width, &height, gfx::Canvas::NO_ELLIPSIS); |
+ CanvasSkia::SizeStringInt(text, *this, &width, &height, |
+ gfx::Canvas::NO_ELLIPSIS); |
return width; |
} |