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

Unified Diff: ash/common/system/chromeos/network/network_icon.cc

Issue 2721553004: Remove auto raw pointer deduction from non-linux specific code. (Closed)
Patch Set: rebase Created 3 years, 10 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: ash/common/system/chromeos/network/network_icon.cc
diff --git a/ash/common/system/chromeos/network/network_icon.cc b/ash/common/system/chromeos/network/network_icon.cc
index bcd788aae7bf470d68e9d916700ca5783134e8d5..855e60abc01dd3a1f8872cf7ea2a323639654bc7 100644
--- a/ash/common/system/chromeos/network/network_icon.cc
+++ b/ash/common/system/chromeos/network/network_icon.cc
@@ -202,7 +202,7 @@ class NetworkIconImageSource : public gfx::CanvasImageSource {
public:
static gfx::ImageSkia CreateImage(const gfx::ImageSkia& icon,
const Badges& badges) {
- auto source = new NetworkIconImageSource(icon, badges);
+ auto* source = new NetworkIconImageSource(icon, badges);
return gfx::ImageSkia(source, source->size());
}
« no previous file with comments | « ash/common/system/chromeos/ime_menu/ime_menu_tray.cc ('k') | ash/common/system/chromeos/network/network_list_md.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698