Skip to content

Commit

Permalink
fix: persist BrowserView content bounds when calculating layout (#33398)
Browse files Browse the repository at this point in the history
Reverting change introduced in PR: #30510

Co-authored-by: Andreas Johansson <aj3621@tobii.com>
  • Loading branch information
trop[bot] and Andreas Johansson committed Mar 23, 2022
1 parent 68292f0 commit a4f81c2
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -214,7 +214,7 @@ void InspectableWebContentsViewViews::SetTitle(const std::u16string& title) {

void InspectableWebContentsViewViews::Layout() {
if (!devtools_web_view_->GetVisible()) {
contents_web_view_->SetBoundsRect(GetVisibleBounds());
contents_web_view_->SetBoundsRect(GetContentsBounds());
return;
}

Expand Down

0 comments on commit a4f81c2

Please sign in to comment.