Force reset of RenderViewImpl zoom level.
commit263e86f88ffc1c8587a5d3141fbc5d6f0ca8519b
authorwjmaclean <wjmaclean@chromium.org>
Mon, 20 Oct 2014 22:22:18 +0000 (20 15:22 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 20 Oct 2014 22:22:44 +0000 (20 22:22 +0000)
treec0c448708721b74226a49540d2d90f6453c7a562
parentf9fd2e2129b8dc0542c76744666a2a1cd06775f2
Force reset of RenderViewImpl zoom level.

When navigation away from a page fails, the displayed error page uses
the zoom level of the current page since the underlying RenderViewImpl
is re-used without resetting its zoom level before displaying the error
page.

This CL forces the RenderViewImpl's zoom level to be reset to 0 whenever
the url being navigated to is unkown to the RenderViewImpl.

BUG=422464

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

Cr-Commit-Position: refs/heads/master@{#300352}
content/renderer/render_frame_impl.cc