summaryrefslogtreecommitdiffstats
path: root/gfx/font_skia.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/font_skia.cc')
-rw-r--r--gfx/font_skia.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/gfx/font_skia.cc b/gfx/font_skia.cc
index 0289cdb..97a3c85 100644
--- a/gfx/font_skia.cc
+++ b/gfx/font_skia.cc
@@ -11,7 +11,7 @@
#include "base/logging.h"
#include "base/string_piece.h"
#include "base/sys_string_conversions.h"
-#include "gfx/canvas_skia.h"
+#include "gfx/canvas.h"
#include "third_party/skia/include/core/SkTypeface.h"
#include "third_party/skia/include/core/SkPaint.h"
@@ -177,8 +177,7 @@ void Font::PaintSetup(SkPaint* paint) 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;
}