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

Unified Diff: ui/message_center/views/notifier_settings_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
Index: ui/message_center/views/notifier_settings_view.cc
diff --git a/ui/message_center/views/notifier_settings_view.cc b/ui/message_center/views/notifier_settings_view.cc
index 523545f8c73c02e9c508eb3bf554aadbc2b4b318..21f3fdf42a81969a1cb0aef388555c46c8edb211 100644
--- a/ui/message_center/views/notifier_settings_view.cc
+++ b/ui/message_center/views/notifier_settings_view.cc
@@ -576,7 +576,7 @@ void NotifierSettingsView::UpdateContentsView(
new views::MenuButton(NULL, notifier_group_text, this, true);
notifier_group_selector_->SetBorder(scoped_ptr<views::Border>(
new views::LabelButtonBorder(views::Button::STYLE_BUTTON)).Pass());
- notifier_group_selector_->SetFocusPainter(scoped_ptr<views::Painter>());
+ notifier_group_selector_->SetFocusPainter(nullptr);
notifier_group_selector_->set_animate_on_state_change(false);
notifier_group_selector_->SetFocusable(true);
contents_title_view->AddChildView(notifier_group_selector_);
« no previous file with comments | « ui/message_center/views/notification_view_unittest.cc ('k') | ui/message_center/views/toast_contents_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698