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

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

Issue 2882513004: Remove renderer notifications of memory pressure. (Closed)
Patch Set: Merge Created 3 years, 7 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/memory/tab_stats.h ('k') | content/browser/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/memory/tab_stats.cc
diff --git a/chrome/browser/memory/tab_stats.cc b/chrome/browser/memory/tab_stats.cc
index d8a0ba5b629da144c0f3c4278834acb787df62ec..f0f1439a0bc1f3690350cb6e7efbee4a55d75568 100644
--- a/chrome/browser/memory/tab_stats.cc
+++ b/chrome/browser/memory/tab_stats.cc
@@ -7,28 +7,14 @@
namespace memory {
-TabStats::TabStats()
- : is_app(false),
- is_internal_page(false),
- is_media(false),
- is_pinned(false),
- is_selected(false),
- is_discarded(false),
- has_form_entry(false),
- discard_count(0),
- render_process_host(nullptr),
- renderer_handle(0),
- child_process_host_id(0),
-#if defined(OS_CHROMEOS)
- oom_score(0),
-#endif
- tab_contents_id(0),
- is_auto_discardable(true) {
-}
+TabStats::TabStats() = default;
TabStats::TabStats(const TabStats& other) = default;
-TabStats::~TabStats() {
-}
+TabStats::TabStats(TabStats&& other) noexcept = default;
+
+TabStats::~TabStats() {}
+
+TabStats& TabStats::operator=(const TabStats& other) = default;
} // namespace memory
« no previous file with comments | « chrome/browser/memory/tab_stats.h ('k') | content/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698