diff options
author | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-02 19:59:57 +0000 |
---|---|---|
committer | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-02 19:59:57 +0000 |
commit | 9d053ecf5d481a8161fe5ebffed5687bc28a4c2e (patch) | |
tree | aec751aba7feb08cb59ab395843f215041a32a9e | |
parent | c03f6d5659e52eb98d7dd9403b6a351282d1df29 (diff) | |
download | chromium_src-9d053ecf5d481a8161fe5ebffed5687bc28a4c2e.zip chromium_src-9d053ecf5d481a8161fe5ebffed5687bc28a4c2e.tar.gz chromium_src-9d053ecf5d481a8161fe5ebffed5687bc28a4c2e.tar.bz2 |
Use -[NSString UTF8String] to form a char* from an NSException.
BUG=none
TEST=If this exception is ever caught, it should log a message, not the
NSException pointer's address.
Review URL: http://codereview.chromium.org/1518015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43513 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | base/nsimage_cache_mac.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/nsimage_cache_mac.mm b/base/nsimage_cache_mac.mm index 1ced7a2..566a7f9 100644 --- a/base/nsimage_cache_mac.mm +++ b/base/nsimage_cache_mac.mm @@ -54,7 +54,7 @@ NSImage* ImageNamed(NSString* name) { @catch (id err) { DLOG(ERROR) << "Failed to load the image for name '" << [name UTF8String] << "' from path '" << [path UTF8String] - << "', error: " << [err description]; + << "', error: " << [[err description] UTF8String]; result = nil; } } |