Try again to fix "maximized window size wrong after unlock".  This is a blind fix but it seems like it should work.
Try again to fix "maximized window size wrong after unlock".  This is a blind fix but it seems like it should work.

Instead of adjusting the window rect by the change in work rect for maximized windows, just size to (work area inflated by SM_CXSIZEFRAME), which is what a maximized window normally does.  This makes the new window size independent of the previous window size,  which could prevent problems if during a chain of resizes Windows doesn't like one of the desired window sizes and modifies it.

BUG=8873
Review URL: http://codereview.chromium.org/88001

git-svn-id: http://src.chromium.org/svn/trunk/src@14129 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

Former-commit-id: 167253da0de36471d1588a1db002f14ca70f1f8c
meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser