diff options
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); |