Inline BarrierCallbackForPut::RejectWithState
It's necessary to have a ScriptState::Scope active in order to call CreateTypeError(). https://chromium-review.googlesource.com/c/chromium/src/+/954765 removed this from BarrierCallbackForPut::OnError, causing crashes. Fix by inlining BarrierCallbackForPut::RejectWithState so that the TypeError is once against created within the ScriptState::Scope. BUG=824621 Change-Id: I7683ac83fd23e4ed9b1b4e2063481d54c37ee3d0 Reviewed-on: https://chromium-review.googlesource.com/975202Reviewed-by:Matt Falkenhagen <falken@chromium.org> Commit-Queue: Adam Rice <ricea@chromium.org> Cr-Commit-Position: refs/heads/master@{#545045}
Showing
Please register or sign in to comment