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

Unified Diff: components/tracing/child_memory_dump_manager_delegate_impl.h

Issue 1421483005: Reland: Remove DCHECK_IMPLIES/CHECK_IMPLIES. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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
Index: components/tracing/child_memory_dump_manager_delegate_impl.h
diff --git a/components/tracing/child_memory_dump_manager_delegate_impl.h b/components/tracing/child_memory_dump_manager_delegate_impl.h
index 007776a81029f771cef794cb7bc83d10045c0542..8150a07f3335a1e7d616cf9d102290f27fdd3ccb 100644
--- a/components/tracing/child_memory_dump_manager_delegate_impl.h
+++ b/components/tracing/child_memory_dump_manager_delegate_impl.h
@@ -41,11 +41,11 @@ class TRACING_EXPORT ChildMemoryDumpManagerDelegateImpl
// Pass kInvalidTracingProcessId to invalidate the id.
void set_tracing_process_id(uint64 id) {
- DCHECK_IMPLIES(
- tracing_process_id_ !=
- base::trace_event::MemoryDumpManager::kInvalidTracingProcessId,
- id == base::trace_event::MemoryDumpManager::kInvalidTracingProcessId ||
- id == tracing_process_id_);
+ DCHECK(tracing_process_id_ ==
+ base::trace_event::MemoryDumpManager::kInvalidTracingProcessId ||
+ id ==
+ base::trace_event::MemoryDumpManager::kInvalidTracingProcessId ||
+ id == tracing_process_id_);
tracing_process_id_ = id;
}
« no previous file with comments | « chrome/browser/ui/passwords/manage_passwords_ui_controller.cc ('k') | content/browser/frame_host/navigation_entry_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698