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

Unified Diff: gpu/ipc/client/gpu_channel_host.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 | « content/renderer/renderer_blink_platform_impl.cc ('k') | media/base/video_frame.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/ipc/client/gpu_channel_host.cc
diff --git a/gpu/ipc/client/gpu_channel_host.cc b/gpu/ipc/client/gpu_channel_host.cc
index af0c167aff22de0f5344f5a3b3160932633d306a..aa22cdc6ab475c83b43122296d83ccbb9c1a9d60 100644
--- a/gpu/ipc/client/gpu_channel_host.cc
+++ b/gpu/ipc/client/gpu_channel_host.cc
@@ -227,7 +227,7 @@ void GpuChannelHost::RemoveRoute(int route_id) {
base::SharedMemoryHandle GpuChannelHost::ShareToGpuProcess(
const base::SharedMemoryHandle& source_handle) {
if (IsLost())
- return base::SharedMemory::NULLHandle();
+ return base::SharedMemoryHandle();
return base::SharedMemory::DuplicateHandle(source_handle);
}
« no previous file with comments | « content/renderer/renderer_blink_platform_impl.cc ('k') | media/base/video_frame.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698