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

Unified Diff: media/video/capture/video_capture_device.cc

Issue 1182183003: Move EndsWith to base namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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
« no previous file with comments | « media/video/capture/mac/video_capture_device_factory_mac.mm ('k') | mojo/runner/shell_apptest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/video/capture/video_capture_device.cc
diff --git a/media/video/capture/video_capture_device.cc b/media/video/capture/video_capture_device.cc
index 44442c49a502c1edaa6cee21b4b0ecbb18cc12df..e4744893a261f1dec110548fc34db4fa759ada79 100644
--- a/media/video/capture/video_capture_device.cc
+++ b/media/video/capture/video_capture_device.cc
@@ -14,7 +14,7 @@ const std::string VideoCaptureDevice::Name::GetNameAndModel() const {
if (model_id.empty())
return device_name_;
const std::string suffix = " (" + model_id + ")";
- if (EndsWith(device_name_, suffix, true)) // |true| means case-sensitive.
+ if (base::EndsWith(device_name_, suffix, true /* case sensitive */))
return device_name_;
return device_name_ + suffix;
}
« no previous file with comments | « media/video/capture/mac/video_capture_device_factory_mac.mm ('k') | mojo/runner/shell_apptest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698