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

Unified Diff: chrome/browser/ui/views/browser_action_view.h

Issue 10827191: Convert extension action icons code to use ImageSkia instead of SkBitmap (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nits Created 8 years, 4 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/browser_action_view.h
diff --git a/chrome/browser/ui/views/browser_action_view.h b/chrome/browser/ui/views/browser_action_view.h
index 316ab876c47e8780502cf441b7d24faadd88c905..a37bbd384e6d8f1e89e3fb896456e8577ac4563b 100644
--- a/chrome/browser/ui/views/browser_action_view.h
+++ b/chrome/browser/ui/views/browser_action_view.h
@@ -156,7 +156,7 @@ class BrowserActionView : public views::View {
// Allocates a canvas object on the heap and draws into it the icon for the
// view as well as the badge (if any). Caller is responsible for deleting the
// returned object.
- gfx::Canvas* GetIconWithBadge();
+ gfx::ImageSkia GetIconWithBadge();
// Overridden from views::View:
virtual void Layout() OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698