Index: base/trace_event/java_heap_dump_provider_android.cc |
diff --git a/base/trace_event/java_heap_dump_provider_android.cc b/base/trace_event/java_heap_dump_provider_android.cc |
index 4f5986d92ceb8ddf8f026c6d09336ba2a539a4f9..684f7301cfb1bd102bdeedc8565159a7408b2a67 100644 |
--- a/base/trace_event/java_heap_dump_provider_android.cc |
+++ b/base/trace_event/java_heap_dump_provider_android.cc |
@@ -24,7 +24,8 @@ JavaHeapDumpProvider::~JavaHeapDumpProvider() { |
// Called at trace dump point time. Creates a snapshot with the memory counters |
// for the current process. |
-bool JavaHeapDumpProvider::OnMemoryDump(ProcessMemoryDump* pmd) { |
+bool JavaHeapDumpProvider::OnMemoryDump(const MemoryDumpArgs& args, |
+ ProcessMemoryDump* pmd) { |
// These numbers come from java.lang.Runtime stats. |
long total_heap_size = 0; |
long free_heap_size = 0; |