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

Unified Diff: remoting/host/remoting_me2me_host.cc

Issue 1830853002: Make PlatformFileForTransit a class on Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix tests. Created 4 years, 9 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: remoting/host/remoting_me2me_host.cc
diff --git a/remoting/host/remoting_me2me_host.cc b/remoting/host/remoting_me2me_host.cc
index a1030dd525806a3d13fab589d3755990daace3da..582df2a3e2eda9fb678afcccfa7794235de4634e 100644
--- a/remoting/host/remoting_me2me_host.cc
+++ b/remoting/host/remoting_me2me_host.cc
@@ -989,7 +989,7 @@ void HostProcess::InitializePairingRegistry(
IPC::PlatformFileForTransit unprivileged_key) {
DCHECK(context_->network_task_runner()->BelongsToCurrentThread());
// |privileged_key| can be nullptr but not |unprivileged_key|.
- DCHECK(unprivileged_key);
+ DCHECK(unprivileged_key.IsValid());
// |pairing_registry_| should only be initialized once.
DCHECK(!pairing_registry_);
« components/nacl/renderer/ppb_nacl_private_impl.cc ('K') | « remoting/host/desktop_session_proxy.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698