Index: extensions/browser/api/bluetooth/bluetooth_api.cc |
diff --git a/extensions/browser/api/bluetooth/bluetooth_api.cc b/extensions/browser/api/bluetooth/bluetooth_api.cc |
index 2e1e4bc718008829a1e4f57f5e73ac48eeb71220..afbf96ab13bb21a1c1a52b3ec9da94c693e98310 100644 |
--- a/extensions/browser/api/bluetooth/bluetooth_api.cc |
+++ b/extensions/browser/api/bluetooth/bluetooth_api.cc |
@@ -143,7 +143,7 @@ bool BluetoothGetDeviceFunction::DoWork( |
DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI)); |
scoped_ptr<GetDevice::Params> params(GetDevice::Params::Create(*args_)); |
- EXTENSION_FUNCTION_VALIDATE(params.get() != NULL); |
+ EXTENSION_FUNCTION_VALIDATE(params.get() != nullptr); |
BluetoothDevice* device = adapter->GetDevice(params->device_address); |
if (device) { |