summaryrefslogtreecommitdiffstats
path: root/ui/gfx/platform_font_pango.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ui/gfx/platform_font_pango.cc')
-rw-r--r--ui/gfx/platform_font_pango.cc10
1 files changed, 0 insertions, 10 deletions
diff --git a/ui/gfx/platform_font_pango.cc b/ui/gfx/platform_font_pango.cc
index fe4d4e68..c70809c 100644
--- a/ui/gfx/platform_font_pango.cc
+++ b/ui/gfx/platform_font_pango.cc
@@ -110,11 +110,6 @@ PlatformFontPango::PlatformFontPango() {
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 @@ PlatformFont* PlatformFont::CreateDefault() {
}
// static
-PlatformFont* PlatformFont::CreateFromFont(const Font& other) {
- return new PlatformFontPango(other);
-}
-
-// static
PlatformFont* PlatformFont::CreateFromNativeFont(NativeFont native_font) {
return new PlatformFontPango(native_font);
}