diff options
author | jcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-25 22:38:44 +0000 |
---|---|---|
committer | jcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-25 22:38:44 +0000 |
commit | 5a91c39f06bef9aa493f2d642349b39341a2bb39 (patch) | |
tree | 07225de7ea0f326f775997dc1004191d5a58809d /webkit | |
parent | 0581263d521822e077525141a67e041605003546 (diff) | |
download | chromium_src-5a91c39f06bef9aa493f2d642349b39341a2bb39.zip chromium_src-5a91c39f06bef9aa493f2d642349b39341a2bb39.tar.gz chromium_src-5a91c39f06bef9aa493f2d642349b39341a2bb39.tar.bz2 |
The autocomplete popup was shown relative to the main frame, causing it to be displayed in the wrong place when shown in a sub-frame.
BUG=8072
TEST=See bug.
Review URL: http://codereview.chromium.org/28141
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10393 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r-- | webkit/glue/webview_impl.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/glue/webview_impl.cc b/webkit/glue/webview_impl.cc index c0c18c1..6b0444d 100644 --- a/webkit/glue/webview_impl.cc +++ b/webkit/glue/webview_impl.cc @@ -1587,7 +1587,7 @@ void WebViewImpl::AutofillSuggestionsForNode( } } else { autocomplete_popup_->show(focused_node->getRect(), - page_->mainFrame()->view(), 0); + focused_node->ownerDocument()->view(), 0); autocomplete_popup_showing_ = true; } } |