OOP PDF - Update zoom factor to fall within range

Currently setZoom() doesn't check whether zoom factor provided
falls within range or not. It is possible to pass big zoom level
through 'zoom' open pdf parameter which can make browser unresponsive.

This patch updates the zoom factor provided in setZoom() to fall
within range.

BUG=303491

Review URL: https://codereview.chromium.org/475933004

Cr-Commit-Position: refs/heads/master@{#291387}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@291387 0039d316-1c4b-4281-b951-d872f2087c98
1 file changed