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

Unified Diff: chrome/browser/chromeos/status/network_menu_icon.cc

Issue 10790128: Revert 147915 - Cleanup gfx::Canvas now that 10562027 has landed (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 5 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
« no previous file with comments | « ash/shell/app_list.cc ('k') | chrome/browser/extensions/extension_icon_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/status/network_menu_icon.cc
===================================================================
--- chrome/browser/chromeos/status/network_menu_icon.cc (revision 147935)
+++ chrome/browser/chromeos/status/network_menu_icon.cc (working copy)
@@ -233,7 +233,7 @@
icon_.width() - bottom_right_badge_->width(),
icon_.height() - bottom_right_badge_->height());
}
- return canvas.ExtractImageRep();
+ return gfx::ImageSkiaRep(canvas.ExtractBitmap(), icon_rep.scale_factor());
}
private:
« no previous file with comments | « ash/shell/app_list.cc ('k') | chrome/browser/extensions/extension_icon_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698