Index: mojo/edk/system/data_pipe_consumer_dispatcher.cc |
diff --git a/mojo/edk/system/data_pipe_consumer_dispatcher.cc b/mojo/edk/system/data_pipe_consumer_dispatcher.cc |
index 1d515b2d9067ff6f51fae6a7a8277c1d4614e1fb..304ee2930d824abbea3e9c12f0feb86c39d60fef 100644 |
--- a/mojo/edk/system/data_pipe_consumer_dispatcher.cc |
+++ b/mojo/edk/system/data_pipe_consumer_dispatcher.cc |
@@ -32,7 +32,8 @@ Dispatcher::Type DataPipeConsumerDispatcher::GetType() const { |
bool DataPipeConsumerDispatcher::SupportsEntrypointClass( |
EntrypointClass entrypoint_class) const { |
- return (entrypoint_class == EntrypointClass::DATA_PIPE_CONSUMER); |
+ return (entrypoint_class == EntrypointClass::NONE || |
+ entrypoint_class == EntrypointClass::DATA_PIPE_CONSUMER); |
} |
// static |