Index: ui/gfx/platform_font_pango.cc |
=================================================================== |
--- ui/gfx/platform_font_pango.cc (revision 132062) |
+++ ui/gfx/platform_font_pango.cc (working copy) |
@@ -110,11 +110,6 @@ |
static_cast<PlatformFontPango*>(default_font_->platform_font())); |
} |
-PlatformFontPango::PlatformFontPango(const Font& other) { |
- InitFromPlatformFont( |
- static_cast<PlatformFontPango*>(other.platform_font())); |
-} |
- |
PlatformFontPango::PlatformFontPango(NativeFont native_font) { |
std::vector<std::string> family_names; |
base::SplitString(pango_font_description_get_family(native_font), ',', |
@@ -391,11 +386,6 @@ |
} |
// static |
-PlatformFont* PlatformFont::CreateFromFont(const Font& other) { |
- return new PlatformFontPango(other); |
-} |
- |
-// static |
PlatformFont* PlatformFont::CreateFromNativeFont(NativeFont native_font) { |
return new PlatformFontPango(native_font); |
} |