Index: chrome/browser/ui/views/frame/contents_layout_manager.cc |
diff --git a/chrome/browser/ui/views/frame/contents_layout_manager.cc b/chrome/browser/ui/views/frame/contents_layout_manager.cc |
index 4aa51bd1b2696b0c81763de45a3d40d7ae028672..0e9fcb9653e137bacdae115a0729224c0c792b70 100644 |
--- a/chrome/browser/ui/views/frame/contents_layout_manager.cc |
+++ b/chrome/browser/ui/views/frame/contents_layout_manager.cc |
@@ -45,15 +45,10 @@ void ContentsLayoutManager::Layout(views::View* contents_container) { |
int width = contents_container->width(); |
gfx::Size container_size(width, height); |
- gfx::Rect old_devtools_bounds(devtools_view_->bounds()); |
- gfx::Rect old_contents_bounds(contents_view_->bounds()); |
gfx::Rect new_devtools_bounds; |
gfx::Rect new_contents_bounds; |
- old_devtools_bounds.Offset(0, -top); |
- old_contents_bounds.Offset(0, -top); |
ApplyDevToolsContentsResizingStrategy(strategy_, container_size, |
- old_devtools_bounds, old_contents_bounds, |
&new_devtools_bounds, &new_contents_bounds); |
new_devtools_bounds.Offset(0, top); |
new_contents_bounds.Offset(0, top); |