views: Use new devtools resizing strategy.
This commit is contained in:
parent
2a8691d981
commit
f013a98920
1 changed files with 0 additions and 3 deletions
|
@ -162,12 +162,9 @@ void InspectableWebContentsViewViews::Layout() {
|
|||
}
|
||||
|
||||
gfx::Size container_size(width(), height());
|
||||
gfx::Rect old_devtools_bounds(devtools_web_view_->bounds());
|
||||
gfx::Rect old_contents_bounds(contents_web_view_->bounds());
|
||||
gfx::Rect new_devtools_bounds;
|
||||
gfx::Rect new_contents_bounds;
|
||||
ApplyDevToolsContentsResizingStrategy(strategy_, container_size,
|
||||
old_devtools_bounds, old_contents_bounds,
|
||||
&new_devtools_bounds, &new_contents_bounds);
|
||||
|
||||
// DevTools cares about the specific position, so we have to compensate RTL
|
||||
|
|
Loading…
Reference in a new issue