[css-layout-api] Change TraceWrapperV8Reference to ScopedPersistent.
The ownership chain for the instance_ variable looks like: LayoutCustom -> CSSLayoutDefinition::Instance -> v8::Object (instance_). As LayoutCustom isn't a ScriptWrappable (lifetime is manually controlled) using the TraceWrapperV8Reference was the wrong thing to do there. Changed to ScopedPersistent. Bug: 726125 Change-Id: I452a44e6914d042ca12f3bce3f8bce4a068bba5d Reviewed-on: https://chromium-review.googlesource.com/986986Reviewed-by:Kentaro Hara <haraken@chromium.org> Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org> Cr-Commit-Position: refs/heads/master@{#547081}
Showing
Please register or sign in to comment