| Index: chrome/browser/ui/tabs/tab_strip_model.cc
|
| diff --git a/chrome/browser/ui/tabs/tab_strip_model.cc b/chrome/browser/ui/tabs/tab_strip_model.cc
|
| index cd2649a561dc9ec69e62eddfe1fe17f487eadb56..6d1936affce0c3b85d9fa72f5ce7ded3d6f2eadb 100644
|
| --- a/chrome/browser/ui/tabs/tab_strip_model.cc
|
| +++ b/chrome/browser/ui/tabs/tab_strip_model.cc
|
| @@ -793,7 +793,8 @@ void TabStripModel::AddWebContents(WebContents* contents,
|
| // new background tab.
|
| if (WebContents* old_contents = GetActiveWebContents()) {
|
| if ((add_types & ADD_ACTIVE) == 0) {
|
| - ResizeWebContents(contents, old_contents->GetContainerBounds().size());
|
| + ResizeWebContents(
|
| + contents, gfx::Rect(old_contents->GetContainerBounds().size()));
|
| }
|
| }
|
| }
|
|
|