Index: chrome/browser/ui/cocoa/tab_contents/favicon_util_mac.mm |
diff --git a/chrome/browser/ui/cocoa/tab_contents/favicon_util_mac.mm b/chrome/browser/ui/cocoa/tab_contents/favicon_util_mac.mm |
index 77107f13b3fb2e4a66f858c79073f57a49635753..7cd60b2752c223f11b0ce60b64247a031886321f 100644 |
--- a/chrome/browser/ui/cocoa/tab_contents/favicon_util_mac.mm |
+++ b/chrome/browser/ui/cocoa/tab_contents/favicon_util_mac.mm |
@@ -19,7 +19,7 @@ namespace mac { |
NSImage* FaviconForTabContents(TabContents* contents) { |
if (contents && contents->favicon_tab_helper()->FaviconIsValid()) { |
- NSImage* image = contents->favicon_tab_helper()->GetFavicon().ToNSImage(); |
+ NSImage* image = contents->favicon_tab_helper()->GetFavicon().AsNSImage(); |
Nico
2012/08/05 04:44:48
(Also fixes a frequent crasher on mac that I intro
|
// The |image| could be nil if the bitmap is null. In that case, fallback |
// to the default image. |
if (image) { |