Skip to content

Commit 7d65f79

Browse files
committed
deps: remove deprecated V8 APIs
To avoid compiler warnings. Signed-Off-By: Michaël Zasso <[email protected]>
1 parent 734ae34 commit 7d65f79

1 file changed

Lines changed: 0 additions & 16 deletions

File tree

deps/v8/include/v8-template.h

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -755,10 +755,6 @@ struct NamedPropertyHandlerConfiguration {
755755
NamedPropertySetterCallbackV2 value) {
756756
return value;
757757
}
758-
static NamedPropertySetterCallbackV2 ConvertSetter(
759-
NamedPropertySetterCallback value) {
760-
return NamedPropertySetterCallbackV2(value);
761-
}
762758

763759
static NamedPropertyDefinerCallbackV2 ConvertDefiner(std::nullptr_t) {
764760
return nullptr;
@@ -767,10 +763,6 @@ struct NamedPropertyHandlerConfiguration {
767763
NamedPropertyDefinerCallbackV2 value) {
768764
return value;
769765
}
770-
static NamedPropertyDefinerCallbackV2 ConvertDefiner(
771-
NamedPropertyDefinerCallback value) {
772-
return NamedPropertyDefinerCallbackV2(value);
773-
}
774766

775767
public:
776768
// TODO(https://crbug.com/348660658): cleanup once migration to
@@ -884,10 +876,6 @@ struct IndexedPropertyHandlerConfiguration {
884876
IndexedPropertySetterCallback value) {
885877
return value;
886878
}
887-
static IndexedPropertySetterCallback ConvertSetter(
888-
IndexedPropertySetterCallbackV2 value) {
889-
return IndexedPropertySetterCallback(value);
890-
}
891879

892880
static IndexedPropertyDefinerCallback ConvertDefiner(std::nullptr_t) {
893881
return nullptr;
@@ -896,10 +884,6 @@ struct IndexedPropertyHandlerConfiguration {
896884
IndexedPropertyDefinerCallback value) {
897885
return value;
898886
}
899-
static IndexedPropertyDefinerCallback ConvertDefiner(
900-
IndexedPropertyDefinerCallbackV2 value) {
901-
return IndexedPropertyDefinerCallback(value);
902-
}
903887

904888
public:
905889
// TODO(https://crbug.com/348660658): cleanup once migration to

0 commit comments

Comments
 (0)