diff --git a/src/node_contextify.h b/src/node_contextify.h index 20bf2dafe2087c..2ebfef7f27374d 100644 --- a/src/node_contextify.h +++ b/src/node_contextify.h @@ -15,10 +15,6 @@ struct ContextOptions { }; class ContextifyContext { - protected: - Environment* const env_; - Persistent context_; - public: ContextifyContext(Environment* env, v8::Local sandbox_obj, @@ -97,6 +93,8 @@ class ContextifyContext { static void IndexedPropertyDeleterCallback( uint32_t index, const v8::PropertyCallbackInfo& args); + Environment* const env_; + Persistent context_; }; } // namespace contextify