Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index 19d7fdcbb870bd5041f90049ba0d425994e64063..69bcf7d756ab369d0b9003bccd3f1161c33323f7 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -1240,7 +1240,6 @@ Local<FunctionTemplate> FunctionTemplate::NewWithFastHandler( |
experimental::FastAccessorBuilder* fast_handler, v8::Local<Value> data, |
v8::Local<Signature> signature, int length) { |
i::Isolate* i_isolate = reinterpret_cast<i::Isolate*>(isolate); |
- DCHECK(!i_isolate->serializer_enabled()); |
LOG_API(i_isolate, FunctionTemplate, NewWithFastHandler); |
ENTER_V8(i_isolate); |
return FunctionTemplateNew(i_isolate, callback, fast_handler, data, signature, |
@@ -1251,7 +1250,6 @@ Local<FunctionTemplate> FunctionTemplate::NewWithCache( |
Isolate* isolate, FunctionCallback callback, Local<Private> cache_property, |
Local<Value> data, Local<Signature> signature, int length) { |
i::Isolate* i_isolate = reinterpret_cast<i::Isolate*>(isolate); |
- DCHECK(!i_isolate->serializer_enabled()); |
LOG_API(i_isolate, FunctionTemplate, NewWithFastHandler); |
ENTER_V8(i_isolate); |
return FunctionTemplateNew(i_isolate, callback, nullptr, data, signature, |