summaryrefslogtreecommitdiffstats
path: root/content/browser/plugin_service_browsertest.cc
diff options
context:
space:
mode:
authortony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-23 18:08:14 +0000
committertony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-23 18:08:14 +0000
commitf4d43dbdc68e7a8863cab509e6f159c04129fe96 (patch)
treea6b29bfb5104b45dc228d44852c65cdd722fdff4 /content/browser/plugin_service_browsertest.cc
parenta8165a2ee9ddf0b0cf3c195bb52a05887e64092b (diff)
downloadchromium_src-f4d43dbdc68e7a8863cab509e6f159c04129fe96.zip
chromium_src-f4d43dbdc68e7a8863cab509e6f159c04129fe96.tar.gz
chromium_src-f4d43dbdc68e7a8863cab509e6f159c04129fe96.tar.bz2
Fix a bug where window.screen would return 0, 0 as the width and height
if the page requesting the dimensions didn't have a GDK window associated with it and there was no GDK window under the mouse pointer. Instead of using gdk_display_get_window_at_pointer, use gdk_display_get_default_group which will always return a valid value. This means extension background pages will always get the screen size of the primary monitor. BUG=86605 Review URL: http://codereview.chromium.org/7241003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90231 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/plugin_service_browsertest.cc')
0 files changed, 0 insertions, 0 deletions