summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--webkit/glue/webview_impl.cc11
1 files changed, 4 insertions, 7 deletions
diff --git a/webkit/glue/webview_impl.cc b/webkit/glue/webview_impl.cc
index 5b569f4..5bb7b72 100644
--- a/webkit/glue/webview_impl.cc
+++ b/webkit/glue/webview_impl.cc
@@ -235,9 +235,6 @@ class AutocompletePopupMenuClient : public WebCore::PopupMenuClient {
return selected_index_;
}
virtual void popupDidHide() {
- hidePopup();
- }
- virtual void hidePopup() {
webview_->HideAutoCompletePopup();
}
virtual bool itemIsSeparator(unsigned listIndex) const {
@@ -256,14 +253,14 @@ class AutocompletePopupMenuClient : public WebCore::PopupMenuClient {
return false;
}
- virtual FontSelector* fontSelector() const {
- return text_field_->document()->styleSelector()->fontSelector();
- }
-
virtual void setTextFromItem(unsigned listIndex) {
text_field_->setValue(suggestions_[listIndex]);
}
+ virtual FontSelector* fontSelector() const {
+ return text_field_->document()->styleSelector()->fontSelector();
+ }
+
virtual HostWindow* hostWindow() const {
return text_field_->document()->view()->hostWindow();
}