From 4e1c76f34b910c6e9a832cbac2e2bcce8acc9f52 Mon Sep 17 00:00:00 2001 From: "estade@chromium.org" Date: Fri, 13 Nov 2009 01:36:50 +0000 Subject: Use renderer spellchecker for windows. BUG=25677 Review URL: http://codereview.chromium.org/372075 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31875 0039d316-1c4b-4281-b951-d872f2087c98 --- base/file_util_win.cc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'base/file_util_win.cc') diff --git a/base/file_util_win.cc b/base/file_util_win.cc index d6edc6f..3105d37 100644 --- a/base/file_util_win.cc +++ b/base/file_util_win.cc @@ -773,10 +773,7 @@ MemoryMappedFile::MemoryMappedFile() length_(INVALID_FILE_SIZE) { } -bool MemoryMappedFile::MapFileToMemory(const FilePath& file_name) { - file_ = ::CreateFile(file_name.value().c_str(), GENERIC_READ, - FILE_SHARE_READ, NULL, OPEN_EXISTING, - FILE_ATTRIBUTE_NORMAL, NULL); +bool MemoryMappedFile::MapFileToMemoryInternal() { if (file_ == INVALID_HANDLE_VALUE) return false; -- cgit v1.1