diff --git a/src/node_contextify.h b/src/node_contextify.h index 70ce091af3b58e..21aa5d322fc453 100644 --- a/src/node_contextify.h +++ b/src/node_contextify.h @@ -17,10 +17,6 @@ struct ContextOptions { }; class ContextifyContext { - protected: - Environment* const env_; - Persistent context_; - public: ContextifyContext(Environment* env, v8::Local sandbox_obj, @@ -99,6 +95,8 @@ class ContextifyContext { static void IndexedPropertyDeleterCallback( uint32_t index, const v8::PropertyCallbackInfo& args); + Environment* const env_; + Persistent context_; }; } // namespace contextify