Fixes chrome_page_zoom::Zoom(). First, correctly retrieves the default zoom level...
commit36c0134728f84f2fed693b5c8a5b03270a5607c9
authorkhorimoto@chromium.org <khorimoto@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 3 Aug 2012 23:19:07 +0000 (3 23:19 +0000)
committerkhorimoto@chromium.org <khorimoto@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 3 Aug 2012 23:19:07 +0000 (3 23:19 +0000)
tree66689f8fd41172299099749b4750f30a893e5761
parenta37465e67c55f223a6e688e879fb8b1b16631dce
Fixes chrome_page_zoom::Zoom(). First, correctly retrieves the default zoom level from the user Profile instead of from RendererPreferences. Second, correctly sets the default zoom level when content::PAGE_ZOOM_RESET is passed as the zoom parameter (previously, it just set the zoom to 100% no matter what the default zoom level was).

BUG=
TBR=jhawkins

Review URL: https://chromiumcodereview.appspot.com/10826136

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149964 0039d316-1c4b-4281-b951-d872f2087c98
chrome/browser/chrome_page_zoom.cc