diff options
author | thomasvl@chromium.org <thomasvl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-29 20:40:43 +0000 |
---|---|---|
committer | thomasvl@chromium.org <thomasvl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-29 20:40:43 +0000 |
commit | 22fddc9101cd9de5eb5a800d8e4750e496408f73 (patch) | |
tree | eb90ca30ed10de481649a737e8ffb2f443b44b87 | |
parent | 8b0cdbc904f983b1e03c4d9c626754491b66e842 (diff) | |
download | chromium_src-22fddc9101cd9de5eb5a800d8e4750e496408f73.zip chromium_src-22fddc9101cd9de5eb5a800d8e4750e496408f73.tar.gz chromium_src-22fddc9101cd9de5eb5a800d8e4750e496408f73.tar.bz2 |
Add the extension to the image name so we avoid warnings from ns_image_cache and so we share the image between the place we used it with and without an extension.
BUG=none
TEST=no longer get info lines about wanting the extension on the image name.
Review URL: http://codereview.chromium.org/523017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35344 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/cocoa/tab_strip_controller.mm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/cocoa/tab_strip_controller.mm b/chrome/browser/cocoa/tab_strip_controller.mm index c3fee91..e1f65e2 100644 --- a/chrome/browser/cocoa/tab_strip_controller.mm +++ b/chrome/browser/cocoa/tab_strip_controller.mm @@ -776,9 +776,9 @@ private: currentMouse = [tabStripView_ convertPoint:currentMouse fromView:nil]; NSString* imageName = nil; if (NSPointInRect(currentMouse, newTabNewFrame)) { - imageName = @"newtab_h"; + imageName = @"newtab_h.pdf"; } else { - imageName = @"newtab"; + imageName = @"newtab.pdf"; } [newTabButton_ setImage:nsimage_cache::ImageNamed(imageName)]; |