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

Unified Diff: extensions/browser/api/bluetooth_low_energy/utils.cc

Issue 598173003: Run clang-modernize -use-nullptr over src/extensions/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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: extensions/browser/api/bluetooth_low_energy/utils.cc
diff --git a/extensions/browser/api/bluetooth_low_energy/utils.cc b/extensions/browser/api/bluetooth_low_energy/utils.cc
index 33eae2f6423cece8f71f3c3eab9729b9352b21b7..e92cd4697ada29f8eff6e5430be36899545e7f73 100644
--- a/extensions/browser/api/bluetooth_low_energy/utils.cc
+++ b/extensions/browser/api/bluetooth_low_energy/utils.cc
@@ -43,7 +43,7 @@ scoped_ptr<base::DictionaryValue> DescriptorToValue(Descriptor* from) {
from->characteristic.properties.clear();
scoped_ptr<base::DictionaryValue> to = from->ToValue();
- base::DictionaryValue* chrc_value = NULL;
+ base::DictionaryValue* chrc_value = nullptr;
to->GetDictionaryWithoutPathExpansion("characteristic", &chrc_value);
DCHECK(chrc_value);
chrc_value->SetWithoutPathExpansion(

Powered by Google App Engine
This is Rietveld 408576698