| Index: chrome/browser/ui/browser.cc
|
| diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
|
| index 5fcb3737a57bab141171b59932cd0b7970b6a260..1938d631ad7f0ff210e665529c46f9c82f264d90 100644
|
| --- a/chrome/browser/ui/browser.cc
|
| +++ b/chrome/browser/ui/browser.cc
|
| @@ -534,7 +534,9 @@ SkBitmap Browser::GetCurrentPageIcon() const {
|
| TabContents* contents = chrome::GetActiveTabContents(this);
|
| // |contents| can be NULL since GetCurrentPageIcon() is called by the window
|
| // during the window's creation (before tabs have been added).
|
| - return contents ? contents->favicon_tab_helper()->GetFavicon() : SkBitmap();
|
| + // TODO: Let this return a gfx::Image.
|
| + return contents ?
|
| + contents->favicon_tab_helper()->GetFavicon().AsBitmap() : SkBitmap();
|
| }
|
|
|
| string16 Browser::GetWindowTitleForCurrentTab() const {
|
|
|