diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-06 03:45:21 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-06 03:45:21 +0000 |
commit | 31a57a823fca530470169e0fd0593272be821763 (patch) | |
tree | bb0371ffc2c9322ed86e1b7e52c468c50534a051 /chrome | |
parent | b68462c437afd0846489a870e3521decb6fbd658 (diff) | |
download | chromium_src-31a57a823fca530470169e0fd0593272be821763.zip chromium_src-31a57a823fca530470169e0fd0593272be821763.tar.gz chromium_src-31a57a823fca530470169e0fd0593272be821763.tar.bz2 |
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
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/browser/views/tabs/tab_strip.cc | 16 |
1 files changed, 0 insertions, 16 deletions
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<int>(i)); - } - - LOG(ERROR) << " NewTabAnimation1Done details=" << details; -#endif - int tab_data_index = static_cast<int>(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(); |