Add a call to SetLastError before calling SetClassLongPtr. It turns out that SetClasSLongPtr doesn't reset the error code on success and yet said code must be used to check for failure.
Add a call to SetLastError before calling SetClassLongPtr. It turns out that SetClasSLongPtr doesn't reset the error code on success and yet said code must be used to check for failure.

BUG=45041
TEST=none


Review URL: http://codereview.chromium.org/2229003

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

Former-commit-id: d03de1f92da9af11449f22c50e6ce9a6c4e9dc7b
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