projects
/
platform
/
framework
/
web
/
crosswalk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git]
/
src
/
sandbox
/
linux
/
services
/
credentials.cc
diff --git
a/src/sandbox/linux/services/credentials.cc
b/src/sandbox/linux/services/credentials.cc
index
8077c68
..
51a535d
100644
(file)
--- a/
src/sandbox/linux/services/credentials.cc
+++ b/
src/sandbox/linux/services/credentials.cc
@@
-192,7
+192,7
@@
bool Credentials::HasOpenDirectory(int proc_fd) {
return false;
}
}
-
CHECK_GE(proc_self_fd, 0
);
+
PCHECK(0 <= proc_self_fd
);
// Ownership of proc_self_fd is transferred here, it must not be closed
// or modified afterwards except via dir.