Index: third_party/mojo_services/src/view_manager/public/cpp/tests/view_unittest.cc |
diff --git a/third_party/mojo_services/src/view_manager/public/cpp/tests/view_unittest.cc b/third_party/mojo_services/src/view_manager/public/cpp/tests/view_unittest.cc |
index abbd71255c2cc41f23c76a5b4d1f40d65f84e9a0..09d1bde6077a364766dfc31c37b3ef5c67a29f81 100644 |
--- a/third_party/mojo_services/src/view_manager/public/cpp/tests/view_unittest.cc |
+++ b/third_party/mojo_services/src/view_manager/public/cpp/tests/view_unittest.cc |
@@ -742,7 +742,7 @@ class SharedPropertyChangeObserver : public ViewObserver { |
explicit SharedPropertyChangeObserver(View* view) : view_(view) { |
view_->AddObserver(this); |
} |
- virtual ~SharedPropertyChangeObserver() { view_->RemoveObserver(this); } |
+ ~SharedPropertyChangeObserver() override { view_->RemoveObserver(this); } |
Changes GetAndClearChanges() { |
Changes changes; |
@@ -835,7 +835,7 @@ class LocalPropertyChangeObserver : public ViewObserver { |
old_property_value_(-1) { |
view_->AddObserver(this); |
} |
- virtual ~LocalPropertyChangeObserver() { view_->RemoveObserver(this); } |
+ ~LocalPropertyChangeObserver() override { view_->RemoveObserver(this); } |
PropertyChangeInfo PropertyChangeInfoAndClear() { |
PropertyChangeInfo result(property_key_, old_property_value_); |