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

Unified Diff: ui/surface/transport_dib.cc

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 | « ui/surface/transport_dib.h ('k') | ui/surface/transport_dib_posix.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/surface/transport_dib.cc
diff --git a/ui/surface/transport_dib.cc b/ui/surface/transport_dib.cc
index ba72f91e6d4c04cf90bbd5fbda21743b22e9698c..3cbd90c707778888352a10755b01b519d4ccb2ff 100644
--- a/ui/surface/transport_dib.cc
+++ b/ui/surface/transport_dib.cc
@@ -19,3 +19,6 @@ bool TransportDIB::VerifyCanvasSize(int w, int h) {
return (stride * h) <= size_;
}
+base::SharedMemory* TransportDIB::shared_memory() {
+ return &shared_memory_;
+}
« no previous file with comments | « ui/surface/transport_dib.h ('k') | ui/surface/transport_dib_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698