Index: chrome/browser/autofill/autofill_external_delegate_gtk.cc |
diff --git a/chrome/browser/autofill/autofill_external_delegate_gtk.cc b/chrome/browser/autofill/autofill_external_delegate_gtk.cc |
index 4c7bbfafde75a28245e356eea35ab7b5ac2ee985..e140d3b5ac292157c90ba500f7fde50b98af71ab 100644 |
--- a/chrome/browser/autofill/autofill_external_delegate_gtk.cc |
+++ b/chrome/browser/autofill/autofill_external_delegate_gtk.cc |
@@ -61,6 +61,11 @@ void AutofillExternalDelegateGtk::ApplyAutofillSuggestions( |
separator_index); |
} |
+void AutofillExternalDelegateGtk::SetBounds(const gfx::Rect& bounds) { |
+ CreateViewIfNeeded(); |
+ view_->set_element_bounds(bounds); |
+} |
+ |
void AutofillExternalDelegateGtk::CreateViewIfNeeded() { |
if (view_.get()) |
return; |