From f013a98920a267fbb4262ed07b8c51119ffd2884 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Mon, 1 Sep 2014 20:08:31 +0800 Subject: [PATCH] views: Use new devtools resizing strategy. --- brightray/browser/views/inspectable_web_contents_view_views.cc | 3 --- 1 file changed, 3 deletions(-) diff --git a/brightray/browser/views/inspectable_web_contents_view_views.cc b/brightray/browser/views/inspectable_web_contents_view_views.cc index 5a5e1d9ff3e..d76e8efafa0 100644 --- a/brightray/browser/views/inspectable_web_contents_view_views.cc +++ b/brightray/browser/views/inspectable_web_contents_view_views.cc @@ -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