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

Unified Diff: ui/surface/transport_dib.h

Issue 1320783002: Make SharedMemoryHandle a class on windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ipc_global
Patch Set: Rebase. 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
« no previous file with comments | « ui/gfx/blit_unittest.cc ('k') | ui/surface/transport_dib_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/surface/transport_dib.h
diff --git a/ui/surface/transport_dib.h b/ui/surface/transport_dib.h
index c2321448df3a99240c05cdadb83de498e56f94d6..a166238bc07883243eb76785d3985fdc1368ac8d 100644
--- a/ui/surface/transport_dib.h
+++ b/ui/surface/transport_dib.h
@@ -26,11 +26,7 @@ class SURFACE_EXPORT TransportDIB {
// A Handle is the type which can be sent over the wire so that the remote
// side can map the transport DIB.
-#if defined(OS_WIN)
- typedef HANDLE Handle;
-#else // OS_POSIX
typedef base::SharedMemoryHandle Handle;
-#endif
// Returns a default, invalid handle, that is meant to indicate a missing
// Transport DIB.
« no previous file with comments | « ui/gfx/blit_unittest.cc ('k') | ui/surface/transport_dib_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698