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

Unified Diff: chrome/renderer/renderer_sandbox_support_linux.cc

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/renderer_sandbox_support_linux.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/renderer_sandbox_support_linux.cc
diff --git a/chrome/renderer/renderer_sandbox_support_linux.cc b/chrome/renderer/renderer_sandbox_support_linux.cc
index 283afe66a4809b5390086a1f57247cf7bcdd9ebf..29fae48326e80223caa571952f5b79339882fc62 100644
--- a/chrome/renderer/renderer_sandbox_support_linux.cc
+++ b/chrome/renderer/renderer_sandbox_support_linux.cc
@@ -78,7 +78,7 @@ void getRenderStyleForStrike(const char* family, int sizeAndStyle,
}
}
-int MakeSharedMemorySegmentViaIPC(size_t length) {
+int MakeSharedMemorySegmentViaIPC(size_t length, bool executable) {
Pickle request;
request.WriteInt(LinuxSandbox::METHOD_MAKE_SHARED_MEMORY_SEGMENT);
request.WriteUInt32(length);
@@ -92,10 +92,6 @@ int MakeSharedMemorySegmentViaIPC(size_t length) {
return result_fd;
}
-int MakeSharedMemorySegmentViaIPCExecutable(size_t length, bool executable) {
- return MakeSharedMemorySegmentViaIPC(length);
-}
-
int MatchFontWithFallback(const std::string& face, bool bold,
bool italic, int charset) {
Pickle request;
« no previous file with comments | « chrome/renderer/renderer_sandbox_support_linux.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698