Fix crash bugs of FramePainter.
Sometimes FramePainter is deleted without its window's OnWindowDestroying, so removing the kSoloWindowFramePainterKey property explicitly at the destructor. Also this CL adds the checks of painter's frame_ and its non_client_view() since they may be NULL on window destroying timing on test. BUG=155634 TEST=ash_unittests passed with the new test Review URL: https://chromiumcodereview.appspot.com/11194015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162432 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment