commit | 352239c51e0f531f381cb4be4401861c2df148c3 | [log] [tgz] |
---|---|---|
author | Jeremy Roman <[email protected]> | Thu May 21 16:31:32 2020 |
committer | Commit Bot <[email protected]> | Thu May 21 16:31:32 2020 |
tree | 6ee70876b77f7e88be6b3dfecf3f4451e149847a | |
parent | 91bb21b109a60ea6c7b443fcef29d2f61435d012 [diff] [blame] |
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() {