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

Unified Diff: extensions/common/api/bluetooth/bluetooth_manifest_handler.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/common/api/bluetooth/bluetooth_manifest_handler.cc
diff --git a/extensions/common/api/bluetooth/bluetooth_manifest_handler.cc b/extensions/common/api/bluetooth/bluetooth_manifest_handler.cc
index da143fa8c2fb52262f17a4a848b4a9ec88a9bdd3..235beb06c5825fe8d96792dc31bdb4bf3bb593fd 100644
--- a/extensions/common/api/bluetooth/bluetooth_manifest_handler.cc
+++ b/extensions/common/api/bluetooth/bluetooth_manifest_handler.cc
@@ -17,7 +17,7 @@ BluetoothManifestHandler::~BluetoothManifestHandler() {}
bool BluetoothManifestHandler::Parse(Extension* extension,
base::string16* error) {
- const base::Value* bluetooth = NULL;
+ const base::Value* bluetooth = nullptr;
CHECK(extension->manifest()->Get(manifest_keys::kBluetooth, &bluetooth));
scoped_ptr<BluetoothManifestData> data =
BluetoothManifestData::FromValue(*bluetooth, error);
@@ -37,7 +37,7 @@ ManifestPermission* BluetoothManifestHandler::CreateInitialRequiredPermission(
BluetoothManifestData* data = BluetoothManifestData::Get(extension);
if (data)
return data->permission()->Clone();
- return NULL;
+ return nullptr;
}
const std::vector<std::string> BluetoothManifestHandler::Keys() const {

Powered by Google App Engine
This is Rietveld 408576698