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

Unified Diff: components/breakpad/app/breakpad_linux.cc

Issue 316363003: Remove base::kInvalidPlatformFileValue from components, ipc and ppapi. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 | components/nacl/browser/pnacl_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/breakpad/app/breakpad_linux.cc
diff --git a/components/breakpad/app/breakpad_linux.cc b/components/breakpad/app/breakpad_linux.cc
index 5523fd2d56d7583033c1a9a07dee8bfa8d4be40a..e80d7530724087a8dae21b42a922bf1917d5eb83 100644
--- a/components/breakpad/app/breakpad_linux.cc
+++ b/components/breakpad/app/breakpad_linux.cc
@@ -1600,7 +1600,7 @@ void InitNonBrowserCrashReporterForAndroid(const std::string& process_type) {
// (preventing the browser from inspecting the renderer process).
int minidump_fd = base::GlobalDescriptors::GetInstance()->MaybeGet(
GetBreakpadClient()->GetAndroidMinidumpDescriptor());
- if (minidump_fd == base::kInvalidPlatformFileValue) {
+ if (minidump_fd < 0) {
NOTREACHED() << "Could not find minidump FD, crash reporting disabled.";
} else {
EnableNonBrowserCrashDumping(process_type, minidump_fd);
« no previous file with comments | « no previous file | components/nacl/browser/pnacl_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698