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

Unified Diff: content/renderer/hyphenator/hyphenator.cc

Issue 12321062: base: Move MemoryMappedFile out of file_util.h and into its own header file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix chrome_frame again Created 7 years, 10 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 | « content/renderer/hyphenator/hyphenator.h ('k') | courgette/ensemble_apply.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/hyphenator/hyphenator.cc
diff --git a/content/renderer/hyphenator/hyphenator.cc b/content/renderer/hyphenator/hyphenator.cc
index 4c063aee201e3b2b149cc2de598b533938a55193..163f4c114c9050acbca38681b41d8e143422442a 100644
--- a/content/renderer/hyphenator/hyphenator.cc
+++ b/content/renderer/hyphenator/hyphenator.cc
@@ -4,7 +4,7 @@
#include "content/renderer/hyphenator/hyphenator.h"
-#include "base/file_util.h"
+#include "base/files/memory_mapped_file.h"
#include "base/logging.h"
#include "base/memory/scoped_ptr.h"
#include "base/string_util.h"
@@ -203,7 +203,7 @@ bool Hyphenator::Initialize() {
// succeeds, this class does not have to close this file because it is closed
// by the MemoryMappedFile class. To prevent this class from closing this
// file, we reset its handle.
- rule_map_.reset(new file_util::MemoryMappedFile);
+ rule_map_.reset(new base::MemoryMappedFile);
if (!rule_map_->Initialize(rule_file_))
return false;
rule_file_ = base::kInvalidPlatformFileValue;
« no previous file with comments | « content/renderer/hyphenator/hyphenator.h ('k') | courgette/ensemble_apply.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698