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

Unified Diff: chrome/browser/ui/tabs/tab_strip_model.cc

Issue 2561963002: base: Remove the string logging from CHECK(). (Closed)
Patch Set: checkstring: rebase Created 4 years 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
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 b29c2094b15a60a7c9211d28ce462e25cb867058..c6bfeab111f04a97a42ab6463746e2682727feb1 100644
--- a/chrome/browser/ui/tabs/tab_strip_model.cc
+++ b/chrome/browser/ui/tabs/tab_strip_model.cc
@@ -1231,8 +1231,7 @@ void TabStripModel::InternalCloseTab(WebContents* contents,
}
WebContents* TabStripModel::GetWebContentsAtImpl(int index) const {
- CHECK(ContainsIndex(index)) <<
- "Failed to find: " << index << " in: " << count() << " entries.";
+ CHECK(ContainsIndex(index));
return contents_data_[index]->web_contents();
}

Powered by Google App Engine
This is Rietveld 408576698