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

Unified Diff: components/metrics/leak_detector/protobuf_to_mojo_converter.cc

Issue 2417403002: Revert of Leak reports collect information about the last uptrend (Closed)
Patch Set: Created 4 years, 2 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: components/metrics/leak_detector/protobuf_to_mojo_converter.cc
diff --git a/components/metrics/leak_detector/protobuf_to_mojo_converter.cc b/components/metrics/leak_detector/protobuf_to_mojo_converter.cc
index 8d185678864942339f16d0e2afe22c4230ab63e1..24202dbcb8c0a2f3917179ec198678907b6a9b75 100644
--- a/components/metrics/leak_detector/protobuf_to_mojo_converter.cc
+++ b/components/metrics/leak_detector/protobuf_to_mojo_converter.cc
@@ -31,8 +31,6 @@
void ReportToMojo(const MemoryLeakReportProto& report,
mojom::MemoryLeakReport* mojo_report) {
mojo_report->size_bytes = report.size_bytes();
- mojo_report->num_rising_intervals = report.num_rising_intervals();
- mojo_report->num_allocs_increase = report.num_allocs_increase();
for (auto call_stack_value : report.call_stack()) {
mojo_report->call_stack.push_back(call_stack_value);
}
@@ -52,8 +50,6 @@
void MojoToReport(const mojom::MemoryLeakReport& mojo_report,
MemoryLeakReportProto* report) {
report->set_size_bytes(mojo_report.size_bytes);
- report->set_num_rising_intervals(mojo_report.num_rising_intervals);
- report->set_num_allocs_increase(mojo_report.num_allocs_increase);
for (auto call_stack_addr : mojo_report.call_stack)
report->add_call_stack(call_stack_addr);

Powered by Google App Engine
This is Rietveld 408576698