From 31a57a823fca530470169e0fd0593272be821763 Mon Sep 17 00:00:00 2001 From: "sky@chromium.org" Date: Tue, 6 Apr 2010 03:45:21 +0000 Subject: Revert 43692 - Adds some debugging info in hopes of tracking leak in bounds_animator/tab_strip. BUG=40475 TEST=none TBR=jcivelli@chromium.org Review URL: http://codereview.chromium.org/1609008 TBR=sky@chromium.org Review URL: http://codereview.chromium.org/1512021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43696 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/views/tabs/tab_strip.cc | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'chrome') diff --git a/chrome/browser/views/tabs/tab_strip.cc b/chrome/browser/views/tabs/tab_strip.cc index 19de279..373186e 100644 --- a/chrome/browser/views/tabs/tab_strip.cc +++ b/chrome/browser/views/tabs/tab_strip.cc @@ -13,7 +13,6 @@ #include "base/command_line.h" #include "base/compiler_specific.h" #include "base/stl_util-inl.h" -#include "base/string_util.h" #include "chrome/browser/browser.h" #include "chrome/browser/browser_theme_provider.h" #include "chrome/browser/defaults.h" @@ -1414,17 +1413,6 @@ void TabStrip::GenerateIdealBounds() { } void TabStrip::NewTabAnimation1Done() { -#if defined(OS_LINUX) - std::string details(IntToString(GetTabCount())); - - for (size_t i = 0; i < tab_data_.size(); ++i) { - if (tab_data_[i].tab->closing()) - details += " " + IntToString(static_cast(i)); - } - - LOG(ERROR) << " NewTabAnimation1Done details=" << details; -#endif - int tab_data_index = static_cast(tab_data_.size() - 1); Tab* tab = GetTabAtTabDataIndex(tab_data_index); @@ -1619,10 +1607,6 @@ void TabStrip::StopAnimating(bool layout) { } void TabStrip::ResetAnimationState(bool stop_new_tab_timer) { -#if defined(OS_LINUX) - LOG(ERROR) << " ResetAnimationState stop=" << stop_new_tab_timer; -#endif - if (animation_type_ == ANIMATION_NEW_TAB_2) newtab_button_->SchedulePaint(); -- cgit v1.1