Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5917)

Unified Diff: chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc

Issue 10382144: Change SetImage, SetBackground, and SetToggledImage to take in a gfx::ImageSkia (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc
diff --git a/chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc b/chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc
index 04fd0983e5a4f744d1ddbe6b6421615776873458..19e405f1f1137e8c99c974664ad3c7f64a2807bb 100644
--- a/chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc
+++ b/chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc
@@ -26,7 +26,8 @@ IconLabelBubbleView::IconLabelBubbleView(const int background_images[],
is_extension_icon_(false) {
image_ = new views::ImageView();
image_->SetImage(
- ui::ResourceBundle::GetSharedInstance().GetBitmapNamed(contained_image));
+ ui::ResourceBundle::GetSharedInstance().GetImageSkiaNamed(
+ contained_image));
AddChildView(image_);
label_ = new views::Label();

Powered by Google App Engine
This is Rietveld 408576698