diff options
author | sadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-14 16:21:09 +0000 |
---|---|---|
committer | sadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-14 16:21:09 +0000 |
commit | 50f98aeff2efb612f6336b40b0222c21db601f03 (patch) | |
tree | cb16dd4e43fc9b7a1313aad9f92e10aef5fd96c9 /views/metrics.cc | |
parent | b5a99f0cdf9edce01dc69624d743230edb5e7208 (diff) | |
download | chromium_src-50f98aeff2efb612f6336b40b0222c21db601f03.zip chromium_src-50f98aeff2efb612f6336b40b0222c21db601f03.tar.gz chromium_src-50f98aeff2efb612f6336b40b0222c21db601f03.tar.bz2 |
views-desktop: Fix a couple of crashes.
* Setup hosting_widget_ before creating the View, because some of the steps
(e.g. SetBoundsRect) expect that there is a hosting widget.
* Unset capture_view_ when the captured view is destroyed.
BUG=none
TEST=run views-desktop, close a window, and there should be no crash.
Review URL: http://codereview.chromium.org/7358007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92552 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/metrics.cc')
0 files changed, 0 insertions, 0 deletions