[Extensions] Remove v8_helpers::CallFunction
v8_helpers::CallFunction wraps v8::Function::Call. However, we should be avoiding using v8::Function::Call whenever possible, since it doesn't account for all possible state in the renderer (e.g., script suspension, etc). Remove v8_helpers::CallFunction and inline the v8::Function::Call at the two places it was used, along with a TODO to update them. Bug: None Change-Id: If3358bfda74126c3898cea2483fc6a012bdd6f24 Reviewed-on: https://chromium-review.googlesource.com/823010Reviewed-by:Istiaque Ahmed <lazyboy@chromium.org> Commit-Queue: Devlin <rdevlin.cronin@chromium.org> Cr-Commit-Position: refs/heads/master@{#523557}
Showing
Please register or sign in to comment