Commit f92c8a36 authored by yurys's avatar yurys Committed by Commit bot

Remove obsolete TakeHeapSnapshot method from API

BUG=chromium:465651
LOG=Y

Review URL: https://codereview.chromium.org/997583004

Cr-Commit-Position: refs/heads/master@{#27208}
parent 52cb51fb
......@@ -447,15 +447,8 @@ class V8_EXPORT HeapProfiler {
};
/**
* Takes a heap snapshot and returns it. Title parameter is deprecated and
* should be an empty string.
* TODO: deprecate this method.
* Takes a heap snapshot and returns it.
*/
const HeapSnapshot* TakeHeapSnapshot(
Handle<String> title,
ActivityControl* control = NULL,
ObjectNameResolver* global_object_name_resolver = NULL);
const HeapSnapshot* TakeHeapSnapshot(
ActivityControl* control = NULL,
ObjectNameResolver* global_object_name_resolver = NULL);
......
......@@ -7714,14 +7714,6 @@ void HeapProfiler::ClearObjectIds() {
}
const HeapSnapshot* HeapProfiler::TakeHeapSnapshot(
Handle<String> title,
ActivityControl* control,
ObjectNameResolver* resolver) {
return TakeHeapSnapshot(control, resolver);
}
const HeapSnapshot* HeapProfiler::TakeHeapSnapshot(
ActivityControl* control, ObjectNameResolver* resolver) {
return reinterpret_cast<const HeapSnapshot*>(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment