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

Unified Diff: ui/surface/transport_dib.h

Issue 1145893009: Change transport dib API to not make copies of SharedMemoryHandle. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@shared_memory_pepper_rename
Patch Set: Comments from jbauman. Created 5 years, 7 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/thunk/ppb_image_data_api.h ('k') | ui/surface/transport_dib.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 fa2d13283e12d1883a59eef434888bb01886c61a..49afb3e046c4ed4d4a63b832a187caad5017bfc9 100644
--- a/ui/surface/transport_dib.h
+++ b/ui/surface/transport_dib.h
@@ -135,9 +135,8 @@ class SURFACE_EXPORT TransportDIB {
// on the wire.
Id id() const;
- // Return a handle to the underlying shared memory. This can be sent over the
- // wire to give this transport DIB to another process.
- Handle handle() const;
+ // Returns a pointer to the SharedMemory object that backs the transport dib.
+ base::SharedMemory* shared_memory();
private:
TransportDIB();
« no previous file with comments | « ppapi/thunk/ppb_image_data_api.h ('k') | ui/surface/transport_dib.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698