Index: chrome/browser/prefs/pref_member.cc |
diff --git a/chrome/browser/prefs/pref_member.cc b/chrome/browser/prefs/pref_member.cc |
index 025138e1be461e650cd5e4a5d688ddbdcd336b32..bc8b8d4baa4d4c1a53c1dc26e07d7bef1ef37d12 100644 |
--- a/chrome/browser/prefs/pref_member.cc |
+++ b/chrome/browser/prefs/pref_member.cc |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
@@ -35,7 +35,8 @@ void PrefMemberBase::Init(const char* pref_name, |
prefs_ = prefs; |
pref_name_ = pref_name; |
// Check that the preference is registered. |
- DCHECK(prefs_->FindPreference(pref_name_.c_str())); |
+ DCHECK(prefs_->FindPreference(pref_name_.c_str())) << |
Mattias Nissler (ping if slow)
2012/08/03 12:19:08
There seems to be the convention that the << opera
Andrew T Wilson (Slow)
2012/08/04 00:54:41
Done.
|
+ pref_name << " not registered."; |
// Add ourselves as a pref observer so we can keep our local value in sync. |
prefs_->AddPrefObserver(pref_name, this); |