diff options
author | robert.nagy@gmail.com <robert.nagy@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-11 19:56:35 +0000 |
---|---|---|
committer | robert.nagy@gmail.com <robert.nagy@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-11 19:56:35 +0000 |
commit | e60c023a07150052e4aefe6fd95ce5d09fc8767a (patch) | |
tree | 94577597f228dd8dce7e5aed8d0f98c3fe2487b8 /chrome/common/multi_process_lock_win.cc | |
parent | 10d7c0e4a5e5e15c0574b9ac4a94a93605c733bd (diff) | |
download | chromium_src-e60c023a07150052e4aefe6fd95ce5d09fc8767a.zip chromium_src-e60c023a07150052e4aefe6fd95ce5d09fc8767a.tar.gz chromium_src-e60c023a07150052e4aefe6fd95ce5d09fc8767a.tar.bz2 |
share all the needed linux code with OpenBSD in chrome and content
disabled code for OpenBSD:
- AdjustRendererOOMScore()
- SECCOMP_SANDBOX
BUG=
TEST=compile
Review URL: http://codereview.chromium.org/8341052
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109679 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/multi_process_lock_win.cc')
-rw-r--r-- | chrome/common/multi_process_lock_win.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/common/multi_process_lock_win.cc b/chrome/common/multi_process_lock_win.cc index b668f78..d35258e 100644 --- a/chrome/common/multi_process_lock_win.cc +++ b/chrome/common/multi_process_lock_win.cc @@ -24,9 +24,9 @@ class MultiProcessLockWin : public MultiProcessLock { return true; } - if (name_.length() > MULTI_PROCESS_LOCK_NAME_MAX_LEN) { + if (name_.length() >= MAX_PATH) { LOG(ERROR) << "Socket name too long (" << name_.length() - << " > " << MULTI_PROCESS_LOCK_NAME_MAX_LEN << ") - " << name_; + << " >= " << MAX_PATH << ") - " << name_; return false; } |