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

Unified Diff: chrome/renderer/renderer_sandbox_support_linux.h

Issue 4810002: NaCl: Remove second variant of MakeSharedMemorySegmentViaIPC() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years, 1 month 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 | « chrome/renderer/render_process_impl.cc ('k') | chrome/renderer/renderer_sandbox_support_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/renderer_sandbox_support_linux.h
diff --git a/chrome/renderer/renderer_sandbox_support_linux.h b/chrome/renderer/renderer_sandbox_support_linux.h
index 1b71f387fb0938876ce7dfc41352087e172778b9..60594146733d19deb1e15dcdd30c9394ed827c5f 100644
--- a/chrome/renderer/renderer_sandbox_support_linux.h
+++ b/chrome/renderer/renderer_sandbox_support_linux.h
@@ -29,13 +29,9 @@ void getRenderStyleForStrike(const char* family, int sizeAndStyle,
WebKit::WebFontRenderStyle* out);
// Returns a file descriptor for a shared memory segment.
-// TODO(mseaborn): Remove this when the call site is gone from native_client.
-int MakeSharedMemorySegmentViaIPC(size_t length);
-
-// Returns a file descriptor for a shared memory segment.
// The second argument is ignored because SHM segments are always
// mappable with PROT_EXEC on Linux.
-int MakeSharedMemorySegmentViaIPCExecutable(size_t length, bool executable);
+int MakeSharedMemorySegmentViaIPC(size_t length, bool executable);
// Return a read-only file descriptor to the font which best matches the given
// properties or -1 on failure.
« no previous file with comments | « chrome/renderer/render_process_impl.cc ('k') | chrome/renderer/renderer_sandbox_support_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698