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

Unified Diff: chromeos/dbus/bluetooth_gatt_characteristic_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_characteristic_service_provider.cc
diff --git a/chromeos/dbus/bluetooth_gatt_characteristic_service_provider.cc b/chromeos/dbus/bluetooth_gatt_characteristic_service_provider.cc
index d4e4c38f4a86e8fda4a1a3080fc2147c5ff65a5f..545880ac522d00db8180a47d25e4ad3782cd9272 100644
--- a/chromeos/dbus/bluetooth_gatt_characteristic_service_provider.cc
+++ b/chromeos/dbus/bluetooth_gatt_characteristic_service_provider.cc
@@ -52,8 +52,9 @@ class BluetoothGattCharacteristicServiceProviderImpl
DCHECK(!uuid_.empty());
DCHECK(object_path_.IsValid());
DCHECK(service_path_.IsValid());
- DCHECK(base::StartsWithASCII(object_path_.value(),
- service_path_.value() + "/", true));
+ DCHECK(base::StartsWith(object_path_.value(),
+ service_path_.value() + "/",
+ base::CompareCase::SENSITIVE));
exported_object_ = bus_->GetExportedObject(object_path_);
« no previous file with comments | « chrome/browser/ui/webui/interstitials/interstitial_ui.cc ('k') | chromeos/dbus/bluetooth_gatt_descriptor_service_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698