summaryrefslogtreecommitdiffstats
path: root/chrome/renderer
diff options
context:
space:
mode:
authorjrg@chromium.org <jrg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-12 04:32:59 +0000
committerjrg@chromium.org <jrg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-12 04:32:59 +0000
commit12fae2a94551f7bbf19d850ffcbc09ff15fc61ab (patch)
tree3ed01bb63a8872683f21705fe81d457f34f078d3 /chrome/renderer
parent7135bb043af7f66b5ed36e71775e9d1835da7420 (diff)
downloadchromium_src-12fae2a94551f7bbf19d850ffcbc09ff15fc61ab.zip
chromium_src-12fae2a94551f7bbf19d850ffcbc09ff15fc61ab.tar.gz
chromium_src-12fae2a94551f7bbf19d850ffcbc09ff15fc61ab.tar.bz2
For now, turn off the Mac sandbox.
(WebKit fonts choke with it on) Review URL: http://codereview.chromium.org/20288 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9645 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer')
-rw-r--r--chrome/renderer/renderer_main_platform_delegate_mac.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/renderer/renderer_main_platform_delegate_mac.cc b/chrome/renderer/renderer_main_platform_delegate_mac.cc
index 9290f28..c7e7619 100644
--- a/chrome/renderer/renderer_main_platform_delegate_mac.cc
+++ b/chrome/renderer/renderer_main_platform_delegate_mac.cc
@@ -34,6 +34,11 @@ bool RendererMainPlatformDelegate::InitSandboxTests(bool no_sandbox) {
}
bool RendererMainPlatformDelegate::EnableSandbox() {
+
+ // TODO(port): hack
+ // With the sandbox on we don't have fonts in WebKit!
+ return true;
+
// This call doesn't work when the sandbox is enabled, the implementation
// caches it's return value so we call it here and then future calls will
// succeed.