summaryrefslogtreecommitdiffstats
path: root/gfx/font.h
diff options
context:
space:
mode:
authortony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-24 04:14:42 +0000
committertony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-24 04:14:42 +0000
commit450d54eceb47146fb4fd9af724a8589e0c1baa69 (patch)
tree86befc74041c9a77529d850fe640d903d4a263b6 /gfx/font.h
parent8a12e2bc1f606a0b8436d7498ec49751baff178f (diff)
downloadchromium_src-450d54eceb47146fb4fd9af724a8589e0c1baa69.zip
chromium_src-450d54eceb47146fb4fd9af724a8589e0c1baa69.tar.gz
chromium_src-450d54eceb47146fb4fd9af724a8589e0c1baa69.tar.bz2
Also set the canvas size. I missed this in the last patch.
BUG=26354 Review URL: http://codereview.chromium.org/1243001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42429 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gfx/font.h')
-rw-r--r--gfx/font.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/gfx/font.h b/gfx/font.h
index 7395a4d..52a1bbb 100644
--- a/gfx/font.h
+++ b/gfx/font.h
@@ -232,8 +232,7 @@ class Font {
// The default font, used for the default constructor.
static Font* default_font_;
- // Return the scale factor for fonts that account for DPI. We clamp the
- // max DPI to prevent large fonts from overflowing UI elements.
+ // Return the scale factor for fonts that account for DPI.
static float GetPangoScaleFactor();
// The average width of a character, initialized and cached if needed.