aw: Reset parent draw constraints on tear down
commit2e263cc0be032e7a35dce1224f01d3bb498b1d27
authorboliu@chromium.org <boliu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 19 Aug 2014 01:41:52 +0000 (19 01:41 +0000)
committerboliu@chromium.org <boliu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 19 Aug 2014 01:43:38 +0000 (19 01:43 +0000)
tree05b31daca728a751ab302ee9821606e65f8d9766
parent2fd51e30b0faf0f27a0b2438f1f5b3535c3eb27f
aw: Reset parent draw constraints on tear down

Without this, the same webview getting attached again but at a different
part of the view tree would be getting stale and completely wrong parent
draw constraints.

A classic example of this is when webview going into full screen video
mode.

BUG=

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

Cr-Commit-Position: refs/heads/master@{#290450}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@290450 0039d316-1c4b-4281-b951-d872f2087c98
android_webview/browser/hardware_renderer.cc
android_webview/browser/shared_renderer_state.cc
android_webview/browser/shared_renderer_state.h