Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4028)

Unified Diff: chrome/browser/views/tabs/tab_strip.cc

Issue 1512021: Revert 43692 - Adds some debugging info in hopes of tracking leak in... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tools/valgrind/memcheck/suppressions.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/tabs/tab_strip.cc
===================================================================
--- chrome/browser/views/tabs/tab_strip.cc (revision 43695)
+++ chrome/browser/views/tabs/tab_strip.cc (working copy)
@@ -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::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::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();
« no previous file with comments | « no previous file | tools/valgrind/memcheck/suppressions.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698