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

Use v8::Context::kDebugIdIndex instead of hardwired constant in gin

BUG=466631

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

Cr-Commit-Position: refs/heads/master@{#321534}
parent 83d03506
......@@ -19,7 +19,7 @@ namespace gin {
// The field at kDebugIdIndex is treated specially by V8 and is reserved for
// a V8 debugger implementation (not used by gin).
enum ContextEmbedderDataFields {
kDebugIdIndex = 0,
kDebugIdIndex = v8::Context::kDebugIdIndex,
kPerContextDataStartIndex,
};
......
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