summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/nsimage_cache_unittest.mm
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/cocoa/nsimage_cache_unittest.mm')
-rw-r--r--chrome/browser/cocoa/nsimage_cache_unittest.mm5
1 files changed, 4 insertions, 1 deletions
diff --git a/chrome/browser/cocoa/nsimage_cache_unittest.mm b/chrome/browser/cocoa/nsimage_cache_unittest.mm
index 9ecf747..6283ffe 100644
--- a/chrome/browser/cocoa/nsimage_cache_unittest.mm
+++ b/chrome/browser/cocoa/nsimage_cache_unittest.mm
@@ -20,10 +20,13 @@ namespace {
class NSImageCacheTest : public PlatformTest {
public:
NSImageCacheTest() {
- // Look in the Chromium app bundle for resources.
+ // Look in the framework bundle for resources.
FilePath path;
PathService::Get(base::DIR_EXE, &path);
path = path.AppendASCII(MAC_BROWSER_APP_NAME);
+ path = path.AppendASCII("Contents");
+ path = path.AppendASCII("Frameworks");
+ path = path.AppendASCII(MAC_FRAMEWORK_NAME);
mac_util::SetOverrideAppBundlePath(path);
}
virtual ~NSImageCacheTest() {