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

Unified Diff: views/accelerator.h

Issue 179028: Revert "Fix a ton of compiler warnings." (Closed)
Patch Set: Created 11 years, 4 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 | « net/url_request/url_request_unittest.h ('k') | views/controls/menu/simple_menu_model.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/accelerator.h
diff --git a/views/accelerator.h b/views/accelerator.h
index 2b62193bc6fda6a2849de62e85b9e8d027290db8..bb8f91feb8118fe3468999b70ece4aa931632ba3 100644
--- a/views/accelerator.h
+++ b/views/accelerator.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2006-2008 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,8 +95,6 @@ class AcceleratorTarget {
public:
// This method should return true if the accelerator was processed.
virtual bool AcceleratorPressed(const Accelerator& accelerator) = 0;
- protected:
- ~AcceleratorTarget() {}
};
}
« no previous file with comments | « net/url_request/url_request_unittest.h ('k') | views/controls/menu/simple_menu_model.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698