| Index: views/controls/button/menu_button.h
|
| diff --git a/views/controls/button/menu_button.h b/views/controls/button/menu_button.h
|
| index 3895b03d4aff18a38d631616c3d2e1f898315211..c4e95e483a75edc2937d9ff8a01e8d77a301fdb3 100644
|
| --- a/views/controls/button/menu_button.h
|
| +++ b/views/controls/button/menu_button.h
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
|
| +// Copyright (c) 2010 The Chromium Authors. All rights reserved.
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| @@ -97,6 +97,10 @@ class MenuButton : public TextButton {
|
| // text buttons.
|
| const SkBitmap* menu_marker_;
|
|
|
| + // If non-null the destuctor sets this to true. This is set while the menu is
|
| + // showing and used to detect if the menu was deleted while running.
|
| + bool* destroyed_flag_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(MenuButton);
|
| };
|
|
|
|
|