Check whether a number is passed as an argument to kJSSetZoomLevel rather than a double.
In the in-process PDF plugin when checking the argument type of kJSSetZoomLevel calls to the plugin we would check if the argument is a double. But it may be an int and we really want to check if it's a number. This probably worked in the past by chance and broke when we switched to using gin to implement JS bindings for Pepper. BUG=413525 Review URL: https://codereview.chromium.org/569403004 Cr-Commit-Position: refs/heads/master@{#295008}
Showing
Please register or sign in to comment