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

Unified Diff: ui/gfx/platform_font_pango.cc

Issue 10081007: Remove unused and unnecessary constructor from PlatformFont classes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 8 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.h ('k') | ui/gfx/platform_font_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
« no previous file with comments | « ui/gfx/platform_font_pango.h ('k') | ui/gfx/platform_font_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698