Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(107)

Unified Diff: chrome/browser/autofill/autofill_external_delegate.cc

Issue 12334073: Remove WebContents methods that duplicate WebContentsView methods. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
« no previous file with comments | « android_webview/native/aw_web_contents_view_delegate.cc ('k') | chrome/browser/autofill/risk/fingerprint_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698