diff options
author | cevans@chromium.org <cevans@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-26 20:24:31 +0000 |
---|---|---|
committer | cevans@chromium.org <cevans@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-26 20:24:31 +0000 |
commit | dca5e3f197c8f9a3fb953e6a58ba1d72339621cc (patch) | |
tree | 1fb877285575775c6744310857053abcc1ddca69 /webkit/tools/test_shell/test_shell.gyp | |
parent | 806caea6967e8059c2922ec17a4a3a8118d6e292 (diff) | |
download | chromium_src-dca5e3f197c8f9a3fb953e6a58ba1d72339621cc.zip chromium_src-dca5e3f197c8f9a3fb953e6a58ba1d72339621cc.tar.gz chromium_src-dca5e3f197c8f9a3fb953e6a58ba1d72339621cc.tar.bz2 |
Two fixes:
- Apply limit to cursor dimensions. Turns out that the APIs used on Windows
and Linux are integer-overflow resistant to width * height issues. Not sure
about Mac, though.
- Ensure the renderer passed enough data for the dimensions specified, otherwise
we read out of bounds.
BUG=none
TEST=WebCursorTest.CursorSerialization plus http://www.iconutils.com/faq/web-page-cursor.htm and http://www.hypergurl.com/customcursor.html
Review URL: http://codereview.chromium.org/147193
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19408 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools/test_shell/test_shell.gyp')
-rw-r--r-- | webkit/tools/test_shell/test_shell.gyp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/webkit/tools/test_shell/test_shell.gyp b/webkit/tools/test_shell/test_shell.gyp index 17bdc34..718a754 100644 --- a/webkit/tools/test_shell/test_shell.gyp +++ b/webkit/tools/test_shell/test_shell.gyp @@ -468,6 +468,7 @@ '../../glue/regular_expression_unittest.cc', '../../glue/resource_fetcher_unittest.cc', '../../glue/unittest_test_server.h', + '../../glue/webcursor_unittest.cc', '../../glue/webframe_unittest.cc', '../../glue/webplugin_impl_unittest.cc', '../webcore_unit_tests/BMPImageDecoder_unittest.cpp', |