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

Unified Diff: content/child/web_memory_dump_provider_adapter.cc

Issue 1706163002: Refactoring: Remove an argument 'enabled' from onHeapProfilingEnabled (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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: content/child/web_memory_dump_provider_adapter.cc
diff --git a/content/child/web_memory_dump_provider_adapter.cc b/content/child/web_memory_dump_provider_adapter.cc
index 051f155fd98162695d6bbd7890139f435f47d5d2..feae1c469b84d229eeef3ad5956f5d46c58929dd 100644
--- a/content/child/web_memory_dump_provider_adapter.cc
+++ b/content/child/web_memory_dump_provider_adapter.cc
@@ -40,10 +40,10 @@ bool WebMemoryDumpProviderAdapter::OnMemoryDump(
return web_memory_dump_provider_->onMemoryDump(level, &web_pmd_impl);
}
-void WebMemoryDumpProviderAdapter::OnHeapProfilingEnabled(bool enabled) {
+void WebMemoryDumpProviderAdapter::OnHeapProfilingEnabled() {
if (!web_memory_dump_provider_->supportsHeapProfiling())
return;
- web_memory_dump_provider_->onHeapProfilingEnabled(enabled);
+ web_memory_dump_provider_->onHeapProfilingEnabled();
}
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698