| Index: chrome/browser/ui/views/script_bubble_view.cc
|
| ===================================================================
|
| --- chrome/browser/ui/views/script_bubble_view.cc (revision 170751)
|
| +++ chrome/browser/ui/views/script_bubble_view.cc (working copy)
|
| @@ -186,8 +186,10 @@
|
|
|
| void ScriptBubbleView::OnImageLoaded(size_t index,
|
| const gfx::Image& image) {
|
| - const gfx::ImageSkia* image_skia = image.ToImageSkia();
|
| - entries_[index].extension_imageview->SetImage(image_skia);
|
| + if (!image.IsEmpty()) {
|
| + const gfx::ImageSkia* image_skia = image.ToImageSkia();
|
| + entries_[index].extension_imageview->SetImage(image_skia);
|
| + }
|
| }
|
|
|
| ScriptBubbleController* ScriptBubbleView::GetScriptBubbleController() {
|
|
|