summaryrefslogtreecommitdiffstats
path: root/gfx/font_mac.mm
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/font_mac.mm')
-rw-r--r--gfx/font_mac.mm5
1 files changed, 2 insertions, 3 deletions
diff --git a/gfx/font_mac.mm b/gfx/font_mac.mm
index e569a35..f964d94 100644
--- a/gfx/font_mac.mm
+++ b/gfx/font_mac.mm
@@ -9,7 +9,7 @@
#include "base/logging.h"
#include "base/scoped_nsobject.h"
#include "base/sys_string_conversions.h"
-#include "gfx/canvas_skia.h"
+#include "gfx/canvas.h"
namespace gfx {
@@ -60,8 +60,7 @@ int Font::ave_char_width() const {
int Font::GetStringWidth(const std::wstring& text) const {
int width = 0, height = 0;
- CanvasSkia::SizeStringInt(text, *this, &width, &height,
- gfx::Canvas::NO_ELLIPSIS);
+ Canvas::SizeStringInt(text, *this, &width, &height, gfx::Canvas::NO_ELLIPSIS);
return width;
}