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

Unified Diff: remoting/host/desktop_session_agent.cc

Issue 1320783002: Make SharedMemoryHandle a class on windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ipc_global
Patch Set: Fix DCHECK. Created 5 years, 3 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/desktop_session_agent.cc
diff --git a/remoting/host/desktop_session_agent.cc b/remoting/host/desktop_session_agent.cc
index 9d7b2df25211b3175619910be1c79cabf039b870..840d58831da1864c088fc5b0871d00b2767e15ba 100644
--- a/remoting/host/desktop_session_agent.cc
+++ b/remoting/host/desktop_session_agent.cc
@@ -88,7 +88,7 @@ class DesktopSessionAgent::SharedBuffer : public webrtc::SharedMemory {
: SharedMemory(memory->memory(),
size,
#if defined(OS_WIN)
- memory->handle(),
+ memory->handle().GetHandle(),
#else
base::SharedMemory::GetFdFromSharedMemoryHandle(
memory->handle()),

Powered by Google App Engine
This is Rietveld 408576698