Index: chrome/browser/ui/panels/panel_host.cc |
diff --git a/chrome/browser/ui/panels/panel_host.cc b/chrome/browser/ui/panels/panel_host.cc |
index a01870a80294d31017e929d4b576b8ad9a72c0f2..7b901fb8244e48100b640f293c2a378ce1637951 100644 |
--- a/chrome/browser/ui/panels/panel_host.cc |
+++ b/chrome/browser/ui/panels/panel_host.cc |
@@ -27,7 +27,7 @@ |
#include "ui/gfx/image/image.h" |
#include "ipc/ipc_message.h" |
#include "ipc/ipc_message_macros.h" |
-#include "third_party/skia/include/core/SkBitmap.h" |
+#include "ui/gfx/image/image.h" |
#include "ui/gfx/rect.h" |
using content::UserMetricsAction; |
@@ -66,10 +66,9 @@ void PanelHost::DestroyWebContents() { |
web_contents_.reset(); |
} |
-SkBitmap PanelHost::GetPageIcon() const { |
- // TODO: Make this function return gfx::Image. |
+gfx::Image PanelHost::GetPageIcon() const { |
return favicon_tab_helper_.get() ? |
- favicon_tab_helper_->GetFavicon().AsBitmap() : SkBitmap(); |
+ favicon_tab_helper_->GetFavicon() : gfx::Image(); |
} |
void PanelHost::NavigationStateChanged(const content::WebContents* source, |