Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(276)

Unified Diff: base/files/memory_mapped_file.h

Issue 428883012: Add LINKER_INITIALIZER marker to MemoryMappedFile::Region::kWholeFile (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | base/files/memory_mapped_file.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/files/memory_mapped_file.h
diff --git a/base/files/memory_mapped_file.h b/base/files/memory_mapped_file.h
index dc5680615daf4fb10762ae663f358d0f0f2c7a98..8a7f045f351a0365d496f37f5824607cacfdc12e 100644
--- a/base/files/memory_mapped_file.h
+++ b/base/files/memory_mapped_file.h
@@ -41,7 +41,7 @@ class BASE_EXPORT MemoryMappedFile {
private:
// This ctor is used only by kWholeFile, to construct a zero-sized Region
// (which is forbidden by the public ctor) and uniquely identify kWholeFile.
- Region();
+ Region(base::LinkerInitialized);
};
// Opens an existing file and maps it into memory. Access is restricted to
« no previous file with comments | « no previous file | base/files/memory_mapped_file.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698