summaryrefslogtreecommitdiffstats
path: root/chrome/utility
diff options
context:
space:
mode:
authordongseong.hwang@intel.com <dongseong.hwang@intel.com@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-06 23:11:18 +0000
committerdongseong.hwang@intel.com <dongseong.hwang@intel.com@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-06 23:11:18 +0000
commit2862eebc98c6442447b7b501d1ceb3f2bd1775d9 (patch)
treeb9040f7756df71463406568533d4f1a52022d180 /chrome/utility
parent3b5c3f15c2c226a655d02c8f888c07884773d9e3 (diff)
downloadchromium_src-2862eebc98c6442447b7b501d1ceb3f2bd1775d9.zip
chromium_src-2862eebc98c6442447b7b501d1ceb3f2bd1775d9.tar.gz
chromium_src-2862eebc98c6442447b7b501d1ceb3f2bd1775d9.tar.bz2
Use base::GlobalDescriptors::kBaseDescriptor instead of magic number 3.
Review URL: https://chromiumcodereview.appspot.com/23814006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221809 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/utility')
-rw-r--r--chrome/utility/importer/firefox_importer_unittest_utils_mac.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/utility/importer/firefox_importer_unittest_utils_mac.cc b/chrome/utility/importer/firefox_importer_unittest_utils_mac.cc
index cbbf5a9..4b5bc87 100644
--- a/chrome/utility/importer/firefox_importer_unittest_utils_mac.cc
+++ b/chrome/utility/importer/firefox_importer_unittest_utils_mac.cc
@@ -10,6 +10,7 @@
#include "base/file_util.h"
#include "base/files/file_path.h"
#include "base/message_loop/message_loop.h"
+#include "base/posix/global_descriptors.h"
#include "base/process/kill.h"
#include "base/process/launch.h"
#include "base/test/test_timeouts.h"
@@ -52,7 +53,8 @@ bool LaunchNSSDecrypterChildProcess(const base::FilePath& nss_path,
file_util::ScopedFD client_file_descriptor_closer(&ipcfd);
base::FileHandleMappingVector fds_to_map;
- fds_to_map.push_back(std::pair<int,int>(ipcfd, kPrimaryIPCChannel + 3));
+ fds_to_map.push_back(std::pair<int,int>(ipcfd,
+ kPrimaryIPCChannel + base::GlobalDescriptors::kBaseDescriptor));
bool debug_on_start = CommandLine::ForCurrentProcess()->HasSwitch(
switches::kDebugChildren);