summaryrefslogtreecommitdiffstats
path: root/base/file_util.cc
diff options
context:
space:
mode:
authortommi@chromium.org <tommi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-23 21:42:48 +0000
committertommi@chromium.org <tommi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-23 21:42:48 +0000
commite318fe5ea4130cccbf266c1e25c9703b811f7bb6 (patch)
tree03d20b1fbd92104846d3e39b01a223c61dd2774c /base/file_util.cc
parent677445e895b94dc7003e3b3dc752943c6e290a5f (diff)
downloadchromium_src-e318fe5ea4130cccbf266c1e25c9703b811f7bb6.zip
chromium_src-e318fe5ea4130cccbf266c1e25c9703b811f7bb6.tar.gz
chromium_src-e318fe5ea4130cccbf266c1e25c9703b811f7bb6.tar.bz2
Make MemoryMappedFile::IsValid const
TEST=none BUG=none Review URL: http://codereview.chromium.org/6574005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75794 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/file_util.cc')
-rw-r--r--base/file_util.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/file_util.cc b/base/file_util.cc
index c9661e7..7cf67dd2 100644
--- a/base/file_util.cc
+++ b/base/file_util.cc
@@ -341,7 +341,7 @@ bool MemoryMappedFile::Initialize(base::PlatformFile file) {
return true;
}
-bool MemoryMappedFile::IsValid() {
+bool MemoryMappedFile::IsValid() const {
return data_ != NULL;
}