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

Unified Diff: athena/wm/window_list_provider_impl_unittest.cc

Issue 641683003: C++11 override style change for athena (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: rebase Created 6 years, 2 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 | « athena/wm/window_list_provider_impl.h ('k') | athena/wm/window_manager_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/wm/window_list_provider_impl_unittest.cc
diff --git a/athena/wm/window_list_provider_impl_unittest.cc b/athena/wm/window_list_provider_impl_unittest.cc
index 22cb166eed621b972d31da89acc7e2c7025aba97..75d1bd9b43e3adeed4a362c0676adeaae3eefdf2 100644
--- a/athena/wm/window_list_provider_impl_unittest.cc
+++ b/athena/wm/window_list_provider_impl_unittest.cc
@@ -64,20 +64,15 @@ class WindowListObserver : public WindowListProviderObserver {
: calls_(0), window_removal_calls_(0), provider_(provider) {
provider_->AddObserver(this);
}
- virtual ~WindowListObserver() {
- provider_->RemoveObserver(this);
- }
+ ~WindowListObserver() override { provider_->RemoveObserver(this); }
int calls() const { return calls_; }
int window_removal_calls() const { return window_removal_calls_; }
// WindowListProviderObserver:
- virtual void OnWindowStackingChanged() override {
- calls_++;
- }
+ void OnWindowStackingChanged() override { calls_++; }
- virtual void OnWindowRemoved(aura::Window* removed_window,
- int index) override {
+ void OnWindowRemoved(aura::Window* removed_window, int index) override {
window_removal_calls_++;
}
« no previous file with comments | « athena/wm/window_list_provider_impl.h ('k') | athena/wm/window_manager_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698