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

Unified Diff: ppapi/proxy/proxy_channel.cc

Issue 2849633002: Get rid of base::SharedMemory::NULLHandle(); (Closed)
Patch Set: Rebase. Created 3 years, 8 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
« no previous file with comments | « ppapi/proxy/ppb_graphics_3d_proxy.cc ('k') | ppapi/proxy/serialized_handle.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/proxy_channel.cc
diff --git a/ppapi/proxy/proxy_channel.cc b/ppapi/proxy/proxy_channel.cc
index fb4c815007012a99ad3701ef7841bc14acf60702..03af088553a5635f5bff092bcdc0091fce6fbca0 100644
--- a/ppapi/proxy/proxy_channel.cc
+++ b/ppapi/proxy/proxy_channel.cc
@@ -71,7 +71,7 @@ IPC::PlatformFileForTransit ProxyChannel::ShareHandleWithRemote(
base::SharedMemoryHandle ProxyChannel::ShareSharedMemoryHandleWithRemote(
const base::SharedMemoryHandle& handle) {
if (!channel_.get())
- return base::SharedMemory::NULLHandle();
+ return base::SharedMemoryHandle();
DCHECK(peer_pid_ != base::kNullProcessId);
return delegate_->ShareSharedMemoryHandleWithRemote(handle, peer_pid_);
« no previous file with comments | « ppapi/proxy/ppb_graphics_3d_proxy.cc ('k') | ppapi/proxy/serialized_handle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698