summaryrefslogtreecommitdiffstats
path: root/webkit/glue
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/glue')
-rw-r--r--webkit/glue/webview_impl.cc2
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;
}
}