diff options
author | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-19 20:28:17 +0000 |
---|---|---|
committer | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-19 20:28:17 +0000 |
commit | 6c9d9b18c4cf4112d2b6f113ab7b19b35e083743 (patch) | |
tree | 64419d6ecccbd607e431a9ee0b6d22444ad88585 /chrome/browser/chromeos/cros/cros_library.cc | |
parent | 03a61e3d6731a54293958f2583d33d063e798af2 (diff) | |
download | chromium_src-6c9d9b18c4cf4112d2b6f113ab7b19b35e083743.zip chromium_src-6c9d9b18c4cf4112d2b6f113ab7b19b35e083743.tar.gz chromium_src-6c9d9b18c4cf4112d2b6f113ab7b19b35e083743.tar.bz2 |
Clamp the maximum amount of text we'll draw to 32K characters, since higher values have been found to trigger bugs in DrawText().
BUG=41978
TEST=Visit "http://jssh.skypher.com/4.4/Main.html?command%3Dalert(new%20Array(0xffff).join("A"))&execute" (no quotes). Message box should have text in it.
Review URL: http://codereview.chromium.org/1660011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44944 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos/cros/cros_library.cc')
0 files changed, 0 insertions, 0 deletions