diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-01 18:20:14 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-01 18:20:14 +0000 |
commit | 0378bf4edc40686bac06c8e14bd25fdb3f9cfb28 (patch) | |
tree | ee5543b43dd9743d75e1aa8f16692dcfca6c813f /app/mac | |
parent | d028296ec1c0fdfbd40e2390ca3121de7055295d (diff) | |
download | chromium_src-0378bf4edc40686bac06c8e14bd25fdb3f9cfb28.zip chromium_src-0378bf4edc40686bac06c8e14bd25fdb3f9cfb28.tar.gz chromium_src-0378bf4edc40686bac06c8e14bd25fdb3f9cfb28.tar.bz2 |
Move base/mac_util.h to base/mac and use the base::mac namespace.
Fix up callers to use the new location & namespace. Remove includes from
files where it wasn't necessary.
TEST=it compiles
BUG=none
Review URL: http://codereview.chromium.org/6046009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70359 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'app/mac')
-rw-r--r-- | app/mac/nsimage_cache.mm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/mac/nsimage_cache.mm b/app/mac/nsimage_cache.mm index a5d645e..a399b74 100644 --- a/app/mac/nsimage_cache.mm +++ b/app/mac/nsimage_cache.mm @@ -7,7 +7,7 @@ #import <AppKit/AppKit.h> #include "base/logging.h" -#include "base/mac_util.h" +#include "base/mac/mac_util.h" // When C++ exceptions are disabled, the C++ library defines |try| and // |catch| so as to allow exception-expecting C++ code to build properly when @@ -39,7 +39,7 @@ NSImage* GetCachedImageWithName(NSString* name) { DVLOG_IF(1, [[name pathExtension] length] == 0) << "Suggest including the " "extension in the image name"; - NSString* path = [mac_util::MainAppBundle() pathForImageResource:name]; + NSString* path = [base::mac::MainAppBundle() pathForImageResource:name]; if (path) { @try { result = [[[NSImage alloc] initWithContentsOfFile:path] autorelease]; |