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

Unified Diff: mojo/services/view_manager/public/cpp/tests/view_unittest.cc

Issue 988693005: Chromium roll (https://codereview.chromium.org/976353002) (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: fixed bad android build patch Created 5 years, 9 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 | « mojo/public/python/src/common.h ('k') | mojo/services/view_manager/public/cpp/view_tracker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/view_manager/public/cpp/tests/view_unittest.cc
diff --git a/mojo/services/view_manager/public/cpp/tests/view_unittest.cc b/mojo/services/view_manager/public/cpp/tests/view_unittest.cc
index abbd71255c2cc41f23c76a5b4d1f40d65f84e9a0..09d1bde6077a364766dfc31c37b3ef5c67a29f81 100644
--- a/mojo/services/view_manager/public/cpp/tests/view_unittest.cc
+++ b/mojo/services/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_);
« no previous file with comments | « mojo/public/python/src/common.h ('k') | mojo/services/view_manager/public/cpp/view_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698