Closed Bug 1326165 Opened 7 years ago Closed 7 years ago

Do not use binding_details things in nsDocument.cpp

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: edgar, Assigned: edgar)

Details

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.
Per comment 1.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.