Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / sandbox / linux / services / credentials.cc
index 8077c68..51a535d 100644 (file)
@@ -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.