The code to validate whether plugin dlls are 32 bit failed for some dll's as the attempt to create a memory mapped section with the size of the file fails with the section too large error. As per msdn documentation we can safely pass in 0 for the file size for CreateFileMapping and MapViewOfFile which indicates that the whole file is being mapped.
The code to validate whether plugin dlls are 32 bit failed for some dll's as the attempt
to create a memory mapped section with the size of the file fails with the section too large
error. As per msdn documentation we can safely pass in 0 for the file size for CreateFileMapping
and MapViewOfFile which indicates that the whole file is being mapped.

This caused some plugin dlls like acrobat reader 9 to not load in chrome.

Fixes bug http://code.google.com/p/chromium/issues/detail?id=75351

BUG=75351
TEST=manually as described in the bug.

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

git-svn-id: dd90618784b6a4b323ea0c23a071cb1c9e6f2ac7@77575 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser