Index: mojo/edk/system/core.cc |
diff --git a/mojo/edk/system/core.cc b/mojo/edk/system/core.cc |
index e82e9f4634fbaac44b5100ae7e6e77a10f04d7f6..80c3d367ba16858731d2c0527c4c073a7faee245 100644 |
--- a/mojo/edk/system/core.cc |
+++ b/mojo/edk/system/core.cc |
@@ -17,7 +17,6 @@ |
#include "mojo/edk/system/data_pipe_producer_dispatcher.h" |
#include "mojo/edk/system/dispatcher.h" |
#include "mojo/edk/system/handle_signals_state.h" |
-#include "mojo/edk/system/local_data_pipe_impl.h" |
#include "mojo/edk/system/memory.h" |
#include "mojo/edk/system/message_pipe.h" |
#include "mojo/edk/system/message_pipe_dispatcher.h" |
@@ -381,7 +380,7 @@ MojoResult Core::CreateDataPipe( |
} |
DCHECK_NE(handle_pair.second, MOJO_HANDLE_INVALID); |
- scoped_refptr<DataPipe> data_pipe(new LocalDataPipeImpl(validated_options)); |
+ scoped_refptr<DataPipe> data_pipe(DataPipe::CreateLocal(validated_options)); |
producer_dispatcher->Init(data_pipe); |
consumer_dispatcher->Init(data_pipe); |