Index: mojo/edk/embedder/platform_channel_pair_win.cc |
diff --git a/mojo/edk/embedder/platform_channel_pair_win.cc b/mojo/edk/embedder/platform_channel_pair_win.cc |
index 8ba325ae95841575bbc7176f98b123a509d4682d..f7788ad3e2780022210cd6efb98f7efb4fb2102c 100644 |
--- a/mojo/edk/embedder/platform_channel_pair_win.cc |
+++ b/mojo/edk/embedder/platform_channel_pair_win.cc |
@@ -89,9 +89,8 @@ void PlatformChannelPair::PrepareToPassClientHandleToChildProcess( |
DCHECK(handle_passing_info); |
DCHECK(client_handle_.is_valid()); |
- CHECK_GE(base::win::GetVersion(), base::win::VERSION_VISTA); |
- |
- handle_passing_info->push_back(client_handle_.get().handle); |
+ if (base::win::GetVersion() >= base::win::VERSION_VISTA) |
+ handle_passing_info->push_back(client_handle_.get().handle); |
// Log a warning if the command line already has the switch, but "clobber" it |
// anyway, since it's reasonably likely that all the switches were just copied |