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

Unified Diff: chrome/browser/memory/tab_stats.cc

Issue 1332003002: Add option to disallow the discarding of a tab that was previously discarded. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sky@ comments + fix tests. Created 5 years, 3 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
Index: chrome/browser/memory/tab_stats.cc
diff --git a/chrome/browser/memory/tab_stats.cc b/chrome/browser/memory/tab_stats.cc
index d0b6a09a89089aec469cbaef33451a4d01965653..3bf12dbc8fb309fde37614243bfef8aa3f7b6f4b 100644
--- a/chrome/browser/memory/tab_stats.cc
+++ b/chrome/browser/memory/tab_stats.cc
@@ -13,6 +13,7 @@ TabStats::TabStats()
is_pinned(false),
is_selected(false),
is_discarded(false),
+ discard_count(0),
renderer_handle(0),
child_process_host_id(0),
#if defined(OS_CHROMEOS)

Powered by Google App Engine
This is Rietveld 408576698