| Index: gfx/font_win.cc
|
| ===================================================================
|
| --- gfx/font_win.cc (revision 50661)
|
| +++ gfx/font_win.cc (working copy)
|
| @@ -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 @@
|
|
|
| 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;
|
| }
|
|
|
|
|