Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(113)

Unified Diff: ui/gfx/platform_font_win.cc

Issue 9705063: ui/gfx: Rename almost all entries from gfx::CanvasSkia to gfx::Canvas. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/gfx/platform_font_pango.cc ('k') | ui/gfx/render_text_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/platform_font_win.cc
diff --git a/ui/gfx/platform_font_win.cc b/ui/gfx/platform_font_win.cc
index 1911a47c77946d5244c3972b6260ddc6e99c8eea..b97da2395997bf3ad08b891048a3ba74f5fadfe3 100644
--- a/ui/gfx/platform_font_win.cc
+++ b/ui/gfx/platform_font_win.cc
@@ -103,8 +103,8 @@ int PlatformFontWin::GetAverageCharacterWidth() const {
}
int PlatformFontWin::GetStringWidth(const string16& text) const {
- return CanvasSkia::GetStringWidth(text,
- Font(const_cast<PlatformFontWin*>(this)));
+ return Canvas::GetStringWidth(text,
+ Font(const_cast<PlatformFontWin*>(this)));
}
int PlatformFontWin::GetExpectedTextWidth(int length) const {
« no previous file with comments | « ui/gfx/platform_font_pango.cc ('k') | ui/gfx/render_text_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698