diff options
Diffstat (limited to 'gfx/font_win.cc')
-rw-r--r-- | gfx/font_win.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gfx/font_win.cc b/gfx/font_win.cc index 4d4d28e..f9b7243 100644 --- a/gfx/font_win.cc +++ b/gfx/font_win.cc @@ -12,7 +12,7 @@ #include "base/logging.h" #include "base/string_util.h" #include "base/win_util.h" -#include "gfx/canvas.h" +#include "gfx/canvas_skia.h" namespace gfx { @@ -171,7 +171,8 @@ Font Font::DeriveFont(int size_delta, int style) const { 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; } |