Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2169)

Unified Diff: chrome/browser/crash_handler_host_linux.cc

Issue 10920060: Fix breakpad compilation on Android. base::FileDescriptorGetInode expects a pointer of type ino_t (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/crash_handler_host_linux.cc
diff --git a/chrome/browser/crash_handler_host_linux.cc b/chrome/browser/crash_handler_host_linux.cc
index 8b6afd9732cd86a1986668bb0f15a97611ed06a8..7444e9670963b0db3e947ee89e2a5cb912c5584f 100644
--- a/chrome/browser/crash_handler_host_linux.cc
+++ b/chrome/browser/crash_handler_host_linux.cc
@@ -261,7 +261,7 @@ void CrashHandlerHostLinux::OnFileCanReadWithoutBlocking(int fd) {
// calling sendmsg(). We can thus not reliably look for with with
// FindProcessHoldingSocket(). But by necessity, it has to keep the
// partner_fd open until the crashdump is complete.
- uint64_t inode_number;
+ ino_t inode_number;
if (!base::FileDescriptorGetInode(&inode_number, partner_fd)) {
LOG(WARNING) << "Failed to get inode number for passed socket";
(void) HANDLE_EINTR(close(partner_fd));
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698