Set error in LoadNativeLibrary() on Windows.

If the native library fails to load, call GetLastError() immediately and set error with the last system error code. The list of Windows system error codes can be found at:

http://msdn.microsoft.com/en-us/library/windows/desktop/ms681381.aspx

BUG=353771
TBR=evan@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@258214 0039d316-1c4b-4281-b951-d872f2087c98
2 files changed