Do not use binding_details things in nsDocument.cpp

RESOLVED FIXED

Status

()

RESOLVED FIXED
2 years ago
2 years ago

People

(Reporter: edgar, Assigned: edgar)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Assignee)

Description

2 years ago
The patches in bug 1275835 added this code in nsDocument.cpp:
  RootedCallback<OwningNonNull<binding_detail::FastFunction>> functionConstructor(aCx); 
  functionConstructor = new binding_detail::FastFunction(aCx, wrappedConstructor, sgo);

  registry->Define(lcType, functionConstructor, options, rv); 

We could use Function instead of FastFunction, so that we are not using binding-internal data structures outside bindings.
The patches in bug 1326105 fix this.
(Assignee)

Comment 2

2 years ago
Per comment 1.
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.