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

Unified Diff: ui/gfx/gpu_memory_buffer.cc

Issue 2849633002: Get rid of base::SharedMemory::NULLHandle(); (Closed)
Patch Set: 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
Index: ui/gfx/gpu_memory_buffer.cc
diff --git a/ui/gfx/gpu_memory_buffer.cc b/ui/gfx/gpu_memory_buffer.cc
index 185d461c637f5f52f32e3531a45f9f3c33661201..e4e42434fabf9a5af5ab637e18ddee10768fdd13 100644
--- a/ui/gfx/gpu_memory_buffer.cc
+++ b/ui/gfx/gpu_memory_buffer.cc
@@ -8,9 +8,7 @@
namespace gfx {
-GpuMemoryBufferHandle::GpuMemoryBufferHandle()
- : type(EMPTY_BUFFER), id(0), handle(base::SharedMemory::NULLHandle()) {
-}
+GpuMemoryBufferHandle::GpuMemoryBufferHandle() : type(EMPTY_BUFFER), id(0) {}
GpuMemoryBufferHandle::GpuMemoryBufferHandle(
const GpuMemoryBufferHandle& other) = default;

Powered by Google App Engine
This is Rietveld 408576698