Account for short-circuited resizes in Content Shell.
commitec951b9d3b54dab62ac86bfed1012f5abb80e219
authordglazkov@chromium.org <dglazkov@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Sun, 20 Oct 2013 06:21:20 +0000 (20 06:21 +0000)
committerdglazkov@chromium.org <dglazkov@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Sun, 20 Oct 2013 06:21:20 +0000 (20 06:21 +0000)
tree0b8d2fea7117e21e68762ca9e4d8b371c02fa329
parent2bc048f7792151348e07a4db5bad05a236f80355
Account for short-circuited resizes in Content Shell.

When running layout tests, we short-circuit our window-positioning
machinery to stay within the rendering process. This means that
we should similarly short-circuit sizing of the newly opened
secondary windows. Otherwise, a race occurs and occasionally,
a resize to 0x0 message arrives from the browser process.

BUG=307570
R=jam, jochen, tony

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229681 0039d316-1c4b-4281-b951-d872f2087c98
content/renderer/render_widget.cc