commit | 769ed21c33c3629411eb3bbf924de45737a18067 | [log] [tgz] |
---|---|---|
author | Grace Kloba <klobag@google.com> | Wed Jan 27 10:52:47 2010 -0800 |
committer | Grace Kloba <klobag@google.com> | Wed Jan 27 12:24:38 2010 -0800 |
tree | e70f92b02e712520a106a689d3a46ce2f08ca911 | |
parent | 965f4a6b4b5f3dd71e70f427af0c8a902e5880ef [diff] |
Fix http://b/issue?id=2400423. When the same page is loaded, updateRestoreState will be false when we finish the first layout. As we are still in the same page, we don't want to update the current zoom/scroll. But in some cases, like a site switch from mobile to full site and keeps the same url, we do want to update the zoom range as the viewport spec changed. Otherwise, user can't zoom in the full site as the WebView thought it is still a mobile non-scalable page.