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

Unified Diff: chrome/common/child_process_logging_mac.mm

Issue 8802029: Remove 2 pointless NULL checks. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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/common/child_process_logging_mac.mm
diff --git a/chrome/common/child_process_logging_mac.mm b/chrome/common/child_process_logging_mac.mm
index 21bc3698e45ca8a7e84b94ad71230b56f128045d..d539e465b07e18fb13f09e8827584dc7ca536316 100644
--- a/chrome/common/child_process_logging_mac.mm
+++ b/chrome/common/child_process_logging_mac.mm
@@ -176,10 +176,8 @@ void SetNumberOfViews(int number_of_views) {
}
void SetCommandLine(const CommandLine* command_line) {
- DCHECK(SetCrashKeyValue);
- DCHECK(ClearCrashKey);
DCHECK(command_line);
- if (!command_line || !SetCrashKeyValue || !ClearCrashKey)
+ if (!command_line)
return;
// These should match the corresponding strings in breakpad_win.cc.
« 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