diff options
author | rafaelw@chromium.org <rafaelw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-03 22:06:07 +0000 |
---|---|---|
committer | rafaelw@chromium.org <rafaelw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-03 22:06:07 +0000 |
commit | 15d53df08758ee3b35a08cd058b3b57bfddba227 (patch) | |
tree | 72c17d4153ab18c58210bab0673a92e92f152415 /base/file_version_info_win.cc | |
parent | d7e9a8609d36bee7a8510dc95eec201ed44d37e0 (diff) | |
download | chromium_src-15d53df08758ee3b35a08cd058b3b57bfddba227.zip chromium_src-15d53df08758ee3b35a08cd058b3b57bfddba227.tar.gz chromium_src-15d53df08758ee3b35a08cd058b3b57bfddba227.tar.bz2 |
Revert 64960 - Turn on file access checks on Win.
BUG=60211
Review URL: http://codereview.chromium.org/4222005
TBR=jam@chromium.org
Review URL: http://codereview.chromium.org/4431001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64974 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/file_version_info_win.cc')
-rw-r--r-- | base/file_version_info_win.cc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/base/file_version_info_win.cc b/base/file_version_info_win.cc index 6c69708..d1049b8 100644 --- a/base/file_version_info_win.cc +++ b/base/file_version_info_win.cc @@ -10,14 +10,12 @@ #include "base/file_version_info.h" #include "base/logging.h" #include "base/path_service.h" -#include "base/thread_restrictions.h" // This has to be last. #include <strsafe.h> FileVersionInfoWin::FileVersionInfoWin(void* data, int language, int code_page) : language_(language), code_page_(code_page) { - base::ThreadRestrictions::AssertIOAllowed(); data_.reset((char*) data); fixed_file_info_ = NULL; UINT size; @@ -45,8 +43,6 @@ FileVersionInfo* FileVersionInfo::CreateFileVersionInfoForCurrentModule() { // static FileVersionInfo* FileVersionInfo::CreateFileVersionInfo( const FilePath& file_path) { - base::ThreadRestrictions::AssertIOAllowed(); - DWORD dummy; const wchar_t* path = file_path.value().c_str(); DWORD length = ::GetFileVersionInfoSize(path, &dummy); |