bindings: Improve ScriptIterator's API.
* Reorder arguments in ScriptIterator's constructor that takes a v8::Isolate. In general, functions that take a v8::Isolate* have it as the first argument. Make ScriptIterator's constructor follow suit for consistency. * Replace the ScriptIterator(nullptr_t) constructor with a default one. Taking a nullptr (as well as not making the constructor explicit) never made much sense in the first place. Change-Id: I19873f5e6c1996279c76029aa3303fe50a890023 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1928778Reviewed-by:Yuki Shiino <yukishiino@chromium.org> Reviewed-by:
Kentaro Hara <haraken@chromium.org> Commit-Queue: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com> Cr-Commit-Position: refs/heads/master@{#717613}
Showing
Please register or sign in to comment