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

Unified Diff: chrome/browser/memory_details.cc

Issue 2821011: Removes phantom tabs. (Closed)
Patch Set: Created 10 years, 6 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 | « chrome/browser/gtk/tabs/tab_strip_gtk.cc ('k') | chrome/browser/tab_contents/tab_contents.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/memory_details.cc
diff --git a/chrome/browser/memory_details.cc b/chrome/browser/memory_details.cc
index 7c9a7d06591fc605dbd98839b6bcf3ae75719517..b7a16af127681d76703098a5d11352ac330126da 100644
--- a/chrome/browser/memory_details.cc
+++ b/chrome/browser/memory_details.cc
@@ -94,7 +94,7 @@ void MemoryDetails::CollectChildInfoOnUIThread() {
renderer_iter.Advance()) {
DCHECK(renderer_iter.GetCurrentValue());
// Ignore processes that don't have a connection, such as crashed tabs or
- // phantom tabs.
+ // tabs that need to be reloaded.
if (!renderer_iter.GetCurrentValue()->HasConnection() || process.pid !=
base::GetProcId(renderer_iter.GetCurrentValue()->GetHandle())) {
continue;
« no previous file with comments | « chrome/browser/gtk/tabs/tab_strip_gtk.cc ('k') | chrome/browser/tab_contents/tab_contents.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698