File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -132,14 +132,14 @@ v8::EmbedderGraph::Node::Detachedness BaseObject::GetDetachedness() const {
132132
133133template <int Field>
134134void BaseObject::InternalFieldGet (
135- v8::Local<v8::String > property,
135+ v8::Local<v8::Name > property,
136136 const v8::PropertyCallbackInfo<v8::Value>& info) {
137137 info.GetReturnValue ().Set (
138138 info.This ()->GetInternalField (Field).As <v8::Value>());
139139}
140140
141141template <int Field, bool (v8::Value::* typecheck)() const >
142- void BaseObject::InternalFieldSet (v8::Local<v8::String > property,
142+ void BaseObject::InternalFieldSet (v8::Local<v8::Name > property,
143143 v8::Local<v8::Value> value,
144144 const v8::PropertyCallbackInfo<void >& info) {
145145 // This could be e.g. value->IsFunction().
Original file line number Diff line number Diff line change @@ -111,10 +111,10 @@ class BaseObject : public MemoryRetainer {
111111
112112 // Setter/Getter pair for internal fields that can be passed to SetAccessor.
113113 template <int Field>
114- static void InternalFieldGet (v8::Local<v8::String > property,
114+ static void InternalFieldGet (v8::Local<v8::Name > property,
115115 const v8::PropertyCallbackInfo<v8::Value>& info);
116116 template <int Field, bool (v8::Value::*typecheck)() const >
117- static void InternalFieldSet (v8::Local<v8::String > property,
117+ static void InternalFieldSet (v8::Local<v8::Name > property,
118118 v8::Local<v8::Value> value,
119119 const v8::PropertyCallbackInfo<void >& info);
120120
Original file line number Diff line number Diff line change @@ -57,8 +57,6 @@ class ExternalReferenceRegistry {
5757 V (CFunctionWithBool) \
5858 V (const v8::CFunctionInfo*) \
5959 V (v8::FunctionCallback) \
60- V (v8::AccessorGetterCallback) \
61- V (v8::AccessorSetterCallback) \
6260 V (v8::AccessorNameGetterCallback) \
6361 V (v8::AccessorNameSetterCallback) \
6462 V (v8::GenericNamedPropertyDefinerCallback) \
You can’t perform that action at this time.
0 commit comments