Use a normal return value for WebContentsView::GetContainerBounds.

It is unclear why this returns a rectangle via out-param.

Change-Id: Ic83f7feb8a7a9cf95e017c1b3d72453c55afaad3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2212481
Commit-Queue: Jeremy Roman <[email protected]>
Commit-Queue: Avi Drissman <[email protected]>
Reviewed-by: Avi Drissman <[email protected]>
Auto-Submit: Jeremy Roman <[email protected]>
Cr-Commit-Position: refs/heads/master@{#771068}
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
index 69c4bbb9..b7493e2 100644
--- a/content/browser/web_contents/web_contents_impl.cc
+++ b/content/browser/web_contents/web_contents_impl.cc
@@ -3740,9 +3740,7 @@
 }
 
 gfx::Rect WebContentsImpl::GetContainerBounds() {
-  gfx::Rect rv;
-  view_->GetContainerBounds(&rv);
-  return rv;
+  return view_->GetContainerBounds();
 }
 
 DropData* WebContentsImpl::GetDropData() {