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

Unified Diff: ash/shell/lock_view.cc

Issue 14305026: ash: Remove use of ALLOW_THIS_IN_INITIALIZER_LIST. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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/shelf/background_animator.cc ('k') | ash/shell/window_type_launcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell/lock_view.cc
diff --git a/ash/shell/lock_view.cc b/ash/shell/lock_view.cc
index 235cb815a78ffb6ee1a8aa0d5a5570a2fe313029..95691b0756952460de011d58e4fbf48192752528 100644
--- a/ash/shell/lock_view.cc
+++ b/ash/shell/lock_view.cc
@@ -24,8 +24,8 @@ namespace shell {
class LockView : public views::WidgetDelegateView,
public views::ButtonListener {
public:
- LockView() : unlock_button_(ALLOW_THIS_IN_INITIALIZER_LIST(
- new views::LabelButton(this, ASCIIToUTF16("Unlock")))) {
+ LockView()
+ : unlock_button_(new views::LabelButton(this, ASCIIToUTF16("Unlock"))) {
unlock_button_->SetStyle(views::Button::STYLE_NATIVE_TEXTBUTTON);
AddChildView(unlock_button_);
unlock_button_->set_focusable(true);
« no previous file with comments | « ash/shelf/background_animator.cc ('k') | ash/shell/window_type_launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698