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

Unified Diff: components/browsing_data/core/counters/browsing_data_counter.cc

Issue 2798243004: Show password sync status in CBD (Closed)
Patch Set: add sync test Created 3 years, 8 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/browsing_data/core/counters/browsing_data_counter.cc
diff --git a/components/browsing_data/core/counters/browsing_data_counter.cc b/components/browsing_data/core/counters/browsing_data_counter.cc
index 48a80180c5b3d7b027a0d5b95ffb05406d2f29de..fecc32c8740d37d4abdbb5f678774b751febc065 100644
--- a/components/browsing_data/core/counters/browsing_data_counter.cc
+++ b/components/browsing_data/core/counters/browsing_data_counter.cc
@@ -139,7 +139,9 @@ void BrowsingDataCounter::TransitionToReadyToReportResult() {
// BrowsingDataCounter::Result -------------------------------------------------
BrowsingDataCounter::Result::Result(const BrowsingDataCounter* source)
- : source_(source) {}
+ : source_(source) {
+ DCHECK(source);
+}
BrowsingDataCounter::Result::~Result() {}

Powered by Google App Engine
This is Rietveld 408576698