Index: mojo/edk/system/message_in_transit.cc |
diff --git a/mojo/edk/system/message_in_transit.cc b/mojo/edk/system/message_in_transit.cc |
index 624a5460f019c3f3c968d3d6da31db165141f064..1387dd82786b69c24ec6db53876e6deca6abd82a 100644 |
--- a/mojo/edk/system/message_in_transit.cc |
+++ b/mojo/edk/system/message_in_transit.cc |
@@ -127,7 +127,7 @@ MessageInTransit::MessageInTransit(const View& message_view) |
MessageInTransit::~MessageInTransit() { |
if (dispatchers_) { |
for (size_t i = 0; i < dispatchers_->size(); i++) { |
- if (!(*dispatchers_)[i].get()) |
+ if (!(*dispatchers_)[i]) |
continue; |
DCHECK((*dispatchers_)[i]->HasOneRef()); |
@@ -166,7 +166,7 @@ void MessageInTransit::SetDispatchers( |
dispatchers_ = dispatchers.Pass(); |
#ifndef NDEBUG |
for (size_t i = 0; i < dispatchers_->size(); i++) |
- DCHECK(!(*dispatchers_)[i].get() || (*dispatchers_)[i]->HasOneRef()); |
+ DCHECK(!(*dispatchers_)[i] || (*dispatchers_)[i]->HasOneRef()); |
#endif |
} |