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

Unified Diff: ui/message_center/views/toast_contents_view.cc

Issue 855023003: Add presubmit check for scoped_ptr usage. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: REBASE Created 5 years, 11 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 | « ui/message_center/views/notifier_settings_view.cc ('k') | ui/ozone/platform/caca/caca_window_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/message_center/views/toast_contents_view.cc
diff --git a/ui/message_center/views/toast_contents_view.cc b/ui/message_center/views/toast_contents_view.cc
index fd753571386fe655f9d48bb19c9aee03cba5d63c..bd98d032dcdd0a4b626667ba971e6aaa5aff3f05 100644
--- a/ui/message_center/views/toast_contents_view.cc
+++ b/ui/message_center/views/toast_contents_view.cc
@@ -307,7 +307,7 @@ scoped_ptr<ui::MenuModel> ToastContentsView::CreateMenuModel(
// Should not reach, the context menu should be handled in
// MessagePopupCollection.
NOTREACHED();
- return scoped_ptr<ui::MenuModel>();
+ return nullptr;
}
bool ToastContentsView::HasClickedListener(
« no previous file with comments | « ui/message_center/views/notifier_settings_view.cc ('k') | ui/ozone/platform/caca/caca_window_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698