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

Unified Diff: content/child/webmessageportchannel_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
« no previous file with comments | « no previous file | content/renderer/media/media_stream_renderer_factory_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/webmessageportchannel_impl.cc
diff --git a/content/child/webmessageportchannel_impl.cc b/content/child/webmessageportchannel_impl.cc
index 7ae8468049cb56a8442457ab598cd3913b443b91..bf9b533472d2469845628fae013e4f1a8ad6a221 100644
--- a/content/child/webmessageportchannel_impl.cc
+++ b/content/child/webmessageportchannel_impl.cc
@@ -100,7 +100,7 @@ void WebMessagePortChannelImpl::postMessage(
const WebString& encoded_message,
WebMessagePortChannelArray channels) {
std::vector<MessagePort> ports;
- if (!channels.isEmpty()) {
+ if (!channels.empty()) {
ports.resize(channels.size());
for (size_t i = 0; i < channels.size(); ++i) {
ports[i] = static_cast<WebMessagePortChannelImpl*>(channels[i].get())->
« no previous file with comments | « no previous file | content/renderer/media/media_stream_renderer_factory_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698