Remove TabContents from TabStripModelObserver::TabDetachedAt.

BUG=107201
TEST=no visible change


Review URL: https://chromiumcodereview.appspot.com/11293205

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167122 0039d316-1c4b-4281-b951-d872f2087c98
gfx::Size BrowserView::GetNTPBackgroundFillSize() const {
  if (!chrome::search::IsInstantExtendedAPIEnabled(browser()->profile()))
    return gfx::Size();
  gfx::Rect content_bounds = contents_container_->bounds();
  gfx::Point origin(content_bounds.origin());
  View::ConvertPointToTarget(contents_container_->parent(), this, &origin);
  content_bounds.set_origin(origin);
  return gfx::Size(content_bounds.right(), content_bounds.bottom());
}

gfx::Size BrowserView::GetNTPBackgroundFillSize() const {
  if (!chrome::search::IsInstantExtendedAPIEnabled(browser()->profile()))
    return gfx::Size();
  gfx::Rect content_bounds = contents_container_->bounds();
  gfx::Point origin(content_bounds.origin());
  View::ConvertPointToTarget(contents_container_->parent(), this, &origin);
  content_bounds.set_origin(origin);
  return gfx::Size(content_bounds.right(), content_bounds.bottom());
}
