Index: chromeos/dbus/session_manager_client.cc |
diff --git a/chromeos/dbus/session_manager_client.cc b/chromeos/dbus/session_manager_client.cc |
index 441c693fb8cf3c4d86e6ca4ff7858ae5a03c1a44..7db7928b94371cdb3c790cbac283b1a5a765837c 100644 |
--- a/chromeos/dbus/session_manager_client.cc |
+++ b/chromeos/dbus/session_manager_client.cc |
@@ -628,7 +628,7 @@ class SessionManagerClientStubImpl : public SessionManagerClient { |
static void StoreFileInBackground(const base::FilePath& path, |
const std::string& data) { |
const int size = static_cast<int>(data.size()); |
- if (!file_util::CreateDirectory(path.DirName()) || |
+ if (!base::CreateDirectory(path.DirName()) || |
file_util::WriteFile(path, data.data(), size) != size) { |
LOG(WARNING) << "Failed to write policy key to " << path.value(); |
} |