summaryrefslogtreecommitdiff
path: root/src/node_report.h
diff options
context:
space:
mode:
authorcjihrig <cjihrig@gmail.com>2019-03-08 11:59:08 -0500
committercjihrig <cjihrig@gmail.com>2019-03-10 17:16:13 -0400
commit806d3d71e25658c3df770d677c6ad73b9a7b13ae (patch)
treec62f80899bdad185a7a67bf3eec0cedc1f07533a /src/node_report.h
parentd73d86166541dd121235f708f83d2ad9cf24b997 (diff)
downloadandroid-node-v8-806d3d71e25658c3df770d677c6ad73b9a7b13ae.tar.gz
android-node-v8-806d3d71e25658c3df770d677c6ad73b9a7b13ae.tar.bz2
android-node-v8-806d3d71e25658c3df770d677c6ad73b9a7b13ae.zip
report: rename triggerReport() to writeReport()
writeReport() is more descriptive of what the function does. PR-URL: https://github.com/nodejs/node/pull/26527 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'src/node_report.h')
-rw-r--r--src/node_report.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node_report.h b/src/node_report.h
index 7aff7a5e2f..18135f5666 100644
--- a/src/node_report.h
+++ b/src/node_report.h
@@ -67,7 +67,7 @@ std::string ValueToHexString(T value) {
}
// Function declarations - export functions in src/node_report_module.cc
-void TriggerReport(const v8::FunctionCallbackInfo<v8::Value>& info);
+void WriteReport(const v8::FunctionCallbackInfo<v8::Value>& info);
void GetReport(const v8::FunctionCallbackInfo<v8::Value>& info);
// Node.js boot time - defined in src/node.cc