Fix build.
authorandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 5 Feb 2011 01:33:44 +0000 (01:33 +0000)
committerandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 5 Feb 2011 01:33:44 +0000 (01:33 +0000)
* WebProcess/mac/WebProcessMac.mm:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77709 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit2/ChangeLog
Source/WebKit2/WebProcess/mac/WebProcessMac.mm

index b88b74e16bf846215e1633770e4079a0b7c86f46..751efb6499ac56991cbb31d33848ec7b5685bb09 100644 (file)
@@ -1,3 +1,9 @@
+2011-02-04  Anders Carlsson  <andersca@apple.com>
+
+        Fix build.
+
+        * WebProcess/mac/WebProcessMac.mm:
+
 2011-02-04  Anders Carlsson  <andersca@apple.com>
 
         Reviewed by Mark Rowe.
index 437b38857a8dfd4677cbaee0aa8fc044dd5aed34..fc06d2c7ee7b3cfa05cbbae0831b7a05fc96b85c 100644 (file)
@@ -110,6 +110,7 @@ void WebProcess::platformClearResourceCaches()
     [[NSURLCache sharedURLCache] removeAllCachedResponses];
 }
 
+#if ENABLE(WEB_PROCESS_SANDBOX)
 static void appendSandboxParameterPath(Vector<const char*>& vector, const char* name, const char* path)
 {
     char normalizedPath[PATH_MAX];
@@ -128,6 +129,7 @@ static void appendSandboxParameterConfPath(Vector<const char*>& vector, const ch
 
     appendSandboxParameterPath(vector, name, path);
 }
+#endif
 
 static void initializeSandbox(const WebProcessCreationParameters& parameters)
 {