Commit 0befccd2 authored by rdevlin.cronin's avatar rdevlin.cronin Committed by Commit bot

Update MessageCallback typedef Value name

The Local<Value> in the MessageCallback typedef is named "error", but
should be "data" - it's referred to as "data" everywhere else, and
that seems to be the canonical name for a curried-in value.

BUG=None

Review-Url: https://codereview.chromium.org/2621163003
Cr-Commit-Position: refs/heads/master@{#42234}
parent bbf00d80
...@@ -5729,7 +5729,7 @@ typedef void (*FatalErrorCallback)(const char* location, const char* message); ...@@ -5729,7 +5729,7 @@ typedef void (*FatalErrorCallback)(const char* location, const char* message);
typedef void (*OOMErrorCallback)(const char* location, bool is_heap_oom); typedef void (*OOMErrorCallback)(const char* location, bool is_heap_oom);
typedef void (*MessageCallback)(Local<Message> message, Local<Value> error); typedef void (*MessageCallback)(Local<Message> message, Local<Value> data);
// --- Tracing --- // --- Tracing ---
......
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