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

Unified Diff: ui/gfx/font.cc

Issue 79263004: Enables font-related unittests again. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed a test breakage on Windows. Created 7 years 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
Index: ui/gfx/font.cc
diff --git a/ui/gfx/font.cc b/ui/gfx/font.cc
index 7f6ac7ce809dd8dfa1b5acf93ae8970601bdb4e4..0155d6a9fc37223ef2ca082972b5bd1f43bafd56 100644
--- a/ui/gfx/font.cc
+++ b/ui/gfx/font.cc
@@ -78,6 +78,10 @@ std::string Font::GetFontName() const {
return platform_font_->GetFontName();
}
+std::string Font::GetActualFontName() const {
+ return platform_font_->GetActualFontName();
+}
+
int Font::GetFontSize() const {
return platform_font_->GetFontSize();
}

Powered by Google App Engine
This is Rietveld 408576698