Index: chrome/browser/autofill/autofill_external_delegate.cc |
diff --git a/chrome/browser/autofill/autofill_external_delegate.cc b/chrome/browser/autofill/autofill_external_delegate.cc |
index 507f08e075bf2e927dd1669c7745e6a8ab62da33..6d604126772a3dbaf490af87c85067a0ab939fd4 100644 |
--- a/chrome/browser/autofill/autofill_external_delegate.cc |
+++ b/chrome/browser/autofill/autofill_external_delegate.cc |
@@ -160,7 +160,7 @@ void AutofillExternalDelegate::EnsurePopupForElement( |
const gfx::RectF& element_bounds) { |
// Convert element_bounds to be in screen space. |
gfx::Rect client_area; |
- web_contents_->GetContainerBounds(&client_area); |
+ web_contents_->GetView()->GetContainerBounds(&client_area); |
gfx::RectF element_bounds_in_screen_space = |
element_bounds + client_area.OffsetFromOrigin(); |