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

Unified Diff: content/browser/renderer_host/render_widget_helper.h

Issue 13529027: Switch Linux Auru ports over to POSIX SHM instead of legacy SYSV SHM. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 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
Index: content/browser/renderer_host/render_widget_helper.h
===================================================================
--- content/browser/renderer_host/render_widget_helper.h (revision 200710)
+++ content/browser/renderer_host/render_widget_helper.h (working copy)
@@ -133,7 +133,7 @@
// created by CreateNewWindow which initially blocked the requests.
void ResumeRequestsForView(int route_id);
-#if defined(OS_MACOSX)
+#if defined(OS_POSIX) && !defined(TOOLKIT_GTK) && !defined(OS_ANDROID)
// Given the id of a transport DIB, return a mapping to it or NULL on error.
TransportDIB* MapTransportDIB(TransportDIB::Id dib_id);
#endif
@@ -156,7 +156,7 @@
int* surface_id);
void CreateNewFullscreenWidget(int opener_id, int* route_id, int* surface_id);
-#if defined(OS_MACOSX)
+#if defined(OS_POSIX)
// Called on the IO thread to handle the allocation of a TransportDIB. If
// |cache_in_browser| is |true|, then a copy of the shmem is kept by the
// browser, and it is the caller's repsonsibility to call
@@ -213,11 +213,11 @@
// not received as expected.
void OnSimulateSwapOutACK(const ViewMsg_SwapOut_Params& params);
-#if defined(OS_MACOSX)
+#if defined(OS_POSIX)
// Called on destruction to release all allocated transport DIBs
void ClearAllocatedDIBs();
- // On OSX we keep file descriptors to all the allocated DIBs around until
+ // On POSIX we keep file descriptors to all the allocated DIBs around until
// the renderer frees them.
base::Lock allocated_dibs_lock_;
std::map<TransportDIB::Id, int> allocated_dibs_;
« no previous file with comments | « content/browser/renderer_host/render_process_host_impl.cc ('k') | content/browser/renderer_host/render_widget_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698