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

Unified Diff: chromeos/dbus/bluetooth_gatt_descriptor_service_provider.cc

Issue 1242023005: Remove legacy StartsWithASCII function. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: y Created 5 years, 5 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: chromeos/dbus/bluetooth_gatt_descriptor_service_provider.cc
diff --git a/chromeos/dbus/bluetooth_gatt_descriptor_service_provider.cc b/chromeos/dbus/bluetooth_gatt_descriptor_service_provider.cc
index d09fd5e7f46fbe9c4597f3f45e5bfeaaf0c181a3..3ed39b9315d06b7727ddbc52a40c8256f18309a1 100644
--- a/chromeos/dbus/bluetooth_gatt_descriptor_service_provider.cc
+++ b/chromeos/dbus/bluetooth_gatt_descriptor_service_provider.cc
@@ -50,8 +50,9 @@ class BluetoothGattDescriptorServiceProviderImpl
DCHECK(!uuid_.empty());
DCHECK(object_path_.IsValid());
DCHECK(characteristic_path_.IsValid());
- DCHECK(base::StartsWithASCII(object_path_.value(),
- characteristic_path_.value() + "/", true));
+ DCHECK(base::StartsWith(object_path_.value(),
+ characteristic_path_.value() + "/",
+ base::CompareCase::SENSITIVE));
exported_object_ = bus_->GetExportedObject(object_path_);

Powered by Google App Engine
This is Rietveld 408576698