summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/platform/bindings/v8_object_constructor.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/platform/bindings/v8_object_constructor.cc')
-rw-r--r--chromium/third_party/blink/renderer/platform/bindings/v8_object_constructor.cc9
1 files changed, 2 insertions, 7 deletions
diff --git a/chromium/third_party/blink/renderer/platform/bindings/v8_object_constructor.cc b/chromium/third_party/blink/renderer/platform/bindings/v8_object_constructor.cc
index 87f2176ce89..e1378ffcd7e 100644
--- a/chromium/third_party/blink/renderer/platform/bindings/v8_object_constructor.cc
+++ b/chromium/third_party/blink/renderer/platform/bindings/v8_object_constructor.cc
@@ -74,10 +74,10 @@ v8::Local<v8::Function> V8ObjectConstructor::CreateInterfaceObject(
v8::Local<v8::Function> parent_interface,
CreationMode creation_mode) {
// We shouldn't reach this point for the types that are implemented in v8 such
- // as typed arrays and hence don't have domTemplateFunction.
+ // as typed arrays and hence don't have DomTemplateFunction.
DCHECK(type->dom_template_function);
v8::Local<v8::FunctionTemplate> interface_template =
- type->domTemplate(isolate, world);
+ type->DomTemplate(isolate, world);
// Getting the function might fail if we're running out of stack or memory.
v8::Local<v8::Function> interface_object;
bool get_interface_object =
@@ -102,11 +102,6 @@ v8::Local<v8::Function> V8ObjectConstructor::CreateInterfaceObject(
CHECK(prototype_value->IsObject());
prototype_object = prototype_value.As<v8::Object>();
- if (prototype_object->InternalFieldCount() ==
- kV8PrototypeInternalFieldcount) {
- prototype_object->SetAlignedPointerInInternalField(
- kV8PrototypeTypeIndex, const_cast<WrapperTypeInfo*>(type));
- }
}
if (creation_mode == CreationMode::kInstallConditionalFeatures) {