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

Unified Diff: mojo/edk/system/data_pipe_producer_dispatcher.cc

Issue 1160203002: Make Dispatcher::Type an enum class. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 7 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: mojo/edk/system/data_pipe_producer_dispatcher.cc
diff --git a/mojo/edk/system/data_pipe_producer_dispatcher.cc b/mojo/edk/system/data_pipe_producer_dispatcher.cc
index 2480097dccdacb93ee511bfc0bdda173b6dfb1f0..ccd0291a582210ed064b173f9c68cf92889f7428 100644
--- a/mojo/edk/system/data_pipe_producer_dispatcher.cc
+++ b/mojo/edk/system/data_pipe_producer_dispatcher.cc
@@ -20,7 +20,7 @@ void DataPipeProducerDispatcher::Init(scoped_refptr<DataPipe> data_pipe) {
}
Dispatcher::Type DataPipeProducerDispatcher::GetType() const {
- return kTypeDataPipeProducer;
+ return Type::DATA_PIPE_PRODUCER;
}
// static

Powered by Google App Engine
This is Rietveld 408576698