summaryrefslogtreecommitdiffstats
path: root/ui/gfx/platform_font.h
diff options
context:
space:
mode:
authorasvitkine@chromium.org <asvitkine@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-13 18:54:18 +0000
committerasvitkine@chromium.org <asvitkine@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-13 18:54:18 +0000
commit009266504f0b83aa61cbf91c4ed29c429f7674c2 (patch)
tree8d363b1f43739f9564ea18ee1d4ee15e94fe2cc1 /ui/gfx/platform_font.h
parent202c345e0c2e42241fb7f3d6380955d9475a414c (diff)
downloadchromium_src-009266504f0b83aa61cbf91c4ed29c429f7674c2.zip
chromium_src-009266504f0b83aa61cbf91c4ed29c429f7674c2.tar.gz
chromium_src-009266504f0b83aa61cbf91c4ed29c429f7674c2.tar.bz2
Remove unused and unnecessary constructor from PlatformFont classes.
These are not used by Font since it keeps a scoped_refptr to PlatformFont. BUG=none TEST=none Review URL: http://codereview.chromium.org/10081007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132229 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/gfx/platform_font.h')
-rw-r--r--ui/gfx/platform_font.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/ui/gfx/platform_font.h b/ui/gfx/platform_font.h
index b90d05b..e4e8767 100644
--- a/ui/gfx/platform_font.h
+++ b/ui/gfx/platform_font.h
@@ -21,7 +21,6 @@ class UI_EXPORT PlatformFont : public base::RefCounted<PlatformFont> {
public:
// Creates an appropriate PlatformFont implementation.
static PlatformFont* CreateDefault();
- static PlatformFont* CreateFromFont(const Font& other);
static PlatformFont* CreateFromNativeFont(NativeFont native_font);
// Creates a PlatformFont implementation with the specified |font_name|
// (encoded in UTF-8) and |font_size| in pixels.