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

Unified Diff: content/browser/bluetooth/bluetooth_blacklist.cc

Issue 1892353002: Suppress a weird null-dereference error from DrMemory that doesn't cause a crash. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkcr
Patch Set: Created 4 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
« no previous file with comments | « no previous file | tools/valgrind/drmemory/suppressions.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/bluetooth/bluetooth_blacklist.cc
diff --git a/content/browser/bluetooth/bluetooth_blacklist.cc b/content/browser/bluetooth/bluetooth_blacklist.cc
index c9edc5e380699a29a4409e7241efc0b4c99ad8d7..6564c4c4b90cf4a4af1d4237692bc0bd11a07ac4 100644
--- a/content/browser/bluetooth/bluetooth_blacklist.cc
+++ b/content/browser/bluetooth/bluetooth_blacklist.cc
@@ -179,6 +179,8 @@ void BluetoothBlacklist::PopulateWithDefaultValues() {
}
void BluetoothBlacklist::PopulateWithServerProvidedValues() {
+ // DCHECK to maybe help debug https://crbug.com/604078.
+ DCHECK(GetContentClient());
Add(GetContentClient()->browser()->GetWebBluetoothBlacklist());
}
« no previous file with comments | « no previous file | tools/valgrind/drmemory/suppressions.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698