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

Unified Diff: chrome/browser/ui/views/status_icons/status_tray_linux.cc

Issue 2767893002: Remove ScopedVector from chrome/browser/. (Closed)
Patch Set: Address comments from zea@ Created 3 years, 9 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/status_icons/status_tray_linux.cc
diff --git a/chrome/browser/ui/views/status_icons/status_tray_linux.cc b/chrome/browser/ui/views/status_icons/status_tray_linux.cc
index 5b7b612c742449995d36d684ffbbf0e6c1863056..a06731f52ec2ddff066e0b1a05f5d22c0b60ae66 100644
--- a/chrome/browser/ui/views/status_icons/status_tray_linux.cc
+++ b/chrome/browser/ui/views/status_icons/status_tray_linux.cc
@@ -16,7 +16,7 @@ StatusTrayLinux::StatusTrayLinux() {
StatusTrayLinux::~StatusTrayLinux() {
}
-StatusIcon* StatusTrayLinux::CreatePlatformStatusIcon(
+std::unique_ptr<StatusIcon> StatusTrayLinux::CreatePlatformStatusIcon(
StatusIconType type,
const gfx::ImageSkia& image,
const base::string16& tool_tip) {
@@ -29,10 +29,10 @@ StatusTray* StatusTray::Create() {
// Only create a status tray if we can actually create status icons.
if (linux_ui && linux_ui->IsStatusIconSupported())
return new StatusTrayLinux();
- return NULL;
+ return nullptr;
}
#else // defined(OS_CHROMEOS)
StatusTray* StatusTray::Create() {
- return NULL;
+ return nullptr;
}
#endif
« no previous file with comments | « chrome/browser/ui/views/status_icons/status_tray_linux.h ('k') | chrome/browser/ui/views/status_icons/status_tray_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698