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

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: Rebased 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 e8f58140ec17e2dff76ba8d224f4dc3b8f5946df..2df74e60abd39445cb3074ac72476c703c300fa2 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
@@ -37,7 +37,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