Index: mojo/edk/embedder/embedder.cc |
diff --git a/mojo/edk/embedder/embedder.cc b/mojo/edk/embedder/embedder.cc |
index e9a426a25c126985cbbf4acd5f6989cd37b3eba2..d471c3adf076e0fbf34cdd38e3eceff152659509 100644 |
--- a/mojo/edk/embedder/embedder.cc |
+++ b/mojo/edk/embedder/embedder.cc |
@@ -58,8 +58,8 @@ void SetParentPipeHandleFromCommandLine() { |
ScopedPlatformHandle platform_channel = |
PlatformChannelPair::PassClientHandleFromParentProcess( |
*base::CommandLine::ForCurrentProcess()); |
- if (platform_channel.is_valid()) |
- SetParentPipeHandle(std::move(platform_channel)); |
+ CHECK(platform_channel.is_valid()); |
+ SetParentPipeHandle(std::move(platform_channel)); |
} |
void Init() { |