Index: content/common/content_paths.cc |
diff --git a/content/common/content_paths.cc b/content/common/content_paths.cc |
index 305af335ce92a44a1af53c08c874537869cd90cc..19084c56e8b09d0bc75fb877a83f98cd9fa91e91 100644 |
--- a/content/common/content_paths.cc |
+++ b/content/common/content_paths.cc |
@@ -5,6 +5,7 @@ |
#include "content/public/common/content_paths.h" |
#include "base/file_util.h" |
+#include "base/mac/bundle_locations.h" |
#include "base/path_service.h" |
namespace content { |
@@ -27,6 +28,15 @@ bool PathProvider(int key, FilePath* result) { |
return true; |
break; |
} |
+ case DIR_MEDIA_LIBS: { |
+#if defined(OS_MACOSX) |
+ *result = base::mac::FrameworkBundlePath(); |
+ *result = result->Append("Libraries"); |
+ return true; |
+#else |
+ return PathService::Get(base::DIR_MODULE, result); |
+#endif |
+ } |
default: |
return false; |
} |