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

Unified Diff: content/renderer/media/user_media_client_impl.cc

Issue 2799563002: Replace usage of WebVector::isEmpty with WebVector::empty().
Patch Set: Created 3 years, 8 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: content/renderer/media/user_media_client_impl.cc
diff --git a/content/renderer/media/user_media_client_impl.cc b/content/renderer/media/user_media_client_impl.cc
index 771ed274a147638e3a8f74e7ed8914c47c76a900..4daf42ae38e6adf3164cb5ca5de09992becb3dd0 100644
--- a/content/renderer/media/user_media_client_impl.cc
+++ b/content/renderer/media/user_media_client_impl.cc
@@ -45,7 +45,7 @@ namespace {
void CopyFirstString(const blink::StringConstraint& constraint,
std::string* destination) {
- if (!constraint.exact().isEmpty())
+ if (!constraint.exact().empty())
*destination = constraint.exact()[0].utf8();
}
« no previous file with comments | « content/renderer/media/peer_connection_tracker.cc ('k') | content/renderer/media/video_track_to_pepper_adapter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698