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

Unified Diff: gin/public/context_holder.h

Issue 1011553003: Use v8::Context::kDebugIdIndex instead of hardwired constant in gin (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gin/public/context_holder.h
diff --git a/gin/public/context_holder.h b/gin/public/context_holder.h
index afbcf23d73933c6daf4756c535f0340ea93cdab3..b055b9680d421e8db36ad6fd0b9e0792c60151b0 100644
--- a/gin/public/context_holder.h
+++ b/gin/public/context_holder.h
@@ -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,
};
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698