| Index: ui/gfx/layout_text_skia.cc
|
| diff --git a/ui/gfx/layout_text_skia.cc b/ui/gfx/layout_text_skia.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..6bdce3b1cbc4ba994c55a92ed9bd08f8d0169cd3
|
| --- /dev/null
|
| +++ b/ui/gfx/layout_text_skia.cc
|
| @@ -0,0 +1,17 @@
|
| +// Copyright (c) 2013 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "ui/gfx/layout_text.h"
|
| +
|
| +#include "ui/gfx/canvas.h"
|
| +
|
| +namespace gfx {
|
| +
|
| +// static
|
| +int LayoutText::GetStringWidth(const base::string16& text,
|
| + const FontList& font_list) {
|
| + return Canvas::GetStringWidth(text, font_list);
|
| +}
|
| +
|
| +} // namespace gfx
|
|
|