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

Unified Diff: third_party/crashpad/crashpad/test/paths_mac.cc

Issue 2478633002: Update Crashpad to b47bf6c250c6b825dee1c5fbad9152c2c962e828 (Closed)
Patch Set: mac comment 2 Created 4 years, 1 month 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 | « third_party/crashpad/crashpad/test/paths_linux.cc ('k') | third_party/crashpad/crashpad/test/paths_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/crashpad/crashpad/test/paths_mac.cc
diff --git a/third_party/crashpad/crashpad/test/paths_mac.cc b/third_party/crashpad/crashpad/test/paths_mac.cc
index f3dca57a96bf46d5da5faf2f8bdc0c027cf6b408..d16049e82bdad3ac58b07165227df28e77317b50 100644
--- a/third_party/crashpad/crashpad/test/paths_mac.cc
+++ b/third_party/crashpad/crashpad/test/paths_mac.cc
@@ -26,10 +26,11 @@ namespace test {
base::FilePath Paths::Executable() {
uint32_t executable_length = 0;
_NSGetExecutablePath(nullptr, &executable_length);
- DCHECK_GT(executable_length, 1u);
+ CHECK_GT(executable_length, 1u);
+
std::string executable_path(executable_length - 1, std::string::value_type());
int rv = _NSGetExecutablePath(&executable_path[0], &executable_length);
- DCHECK_EQ(rv, 0);
+ CHECK_EQ(rv, 0);
return base::FilePath(executable_path);
}
« no previous file with comments | « third_party/crashpad/crashpad/test/paths_linux.cc ('k') | third_party/crashpad/crashpad/test/paths_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698