Index: net/disk_cache/blockfile/mapped_file.h |
diff --git a/net/disk_cache/blockfile/mapped_file.h b/net/disk_cache/blockfile/mapped_file.h |
index f0efa41ed77fd4dcfaf1b1050d1352068132f770..6c942260129c32506eb31293d006081bbc6734e1 100644 |
--- a/net/disk_cache/blockfile/mapped_file.h |
+++ b/net/disk_cache/blockfile/mapped_file.h |
@@ -30,9 +30,7 @@ class NET_EXPORT_PRIVATE MappedFile : public File { |
// will be mapped in memory. |
void* Init(const base::FilePath& name, size_t size); |
- void* buffer() const { |
- return buffer_; |
- } |
+ void* buffer() const { return buffer_; } |
// Loads or stores a given block from the backing file (synchronously). |
bool Load(const FileBlock* block); |
@@ -57,7 +55,7 @@ class NET_EXPORT_PRIVATE MappedFile : public File { |
#if defined(OS_WIN) |
HANDLE section_; |
#endif |
- void* buffer_; // Address of the memory mapped buffer. |
+ void* buffer_; // Address of the memory mapped buffer. |
size_t view_size_; // Size of the memory pointed by buffer_. |
#if defined(POSIX_AVOID_MMAP) |
void* snapshot_; // Copy of the buffer taken when it was last flushed. |
@@ -70,9 +68,8 @@ class NET_EXPORT_PRIVATE MappedFile : public File { |
class ScopedFlush { |
public: |
explicit ScopedFlush(MappedFile* file) : file_(file) {} |
- ~ScopedFlush() { |
- file_->Flush(); |
- } |
+ ~ScopedFlush() { file_->Flush(); } |
+ |
private: |
MappedFile* file_; |
}; |