diff options
Diffstat (limited to 'views/accelerator.h')
-rw-r--r-- | views/accelerator.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/views/accelerator.h b/views/accelerator.h index bb8f91f..2b62193 100644 --- a/views/accelerator.h +++ b/views/accelerator.h @@ -1,4 +1,4 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. +// Copyright (c) 2009 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. @@ -36,7 +36,7 @@ class Accelerator { modifiers_ = accelerator.modifiers_; } - ~Accelerator() { }; + ~Accelerator() {}; Accelerator& operator=(const Accelerator& accelerator) { if (this != &accelerator) { @@ -95,6 +95,8 @@ class AcceleratorTarget { public: // This method should return true if the accelerator was processed. virtual bool AcceleratorPressed(const Accelerator& accelerator) = 0; + protected: + ~AcceleratorTarget() {} }; } |