Index: dbus/object_manager_unittest.cc |
diff --git a/dbus/object_manager_unittest.cc b/dbus/object_manager_unittest.cc |
index 9f86bc9c9657276bb01087076cc62684a389a48c..d879b39b987095630b6346c0ee65b0270e0a6fb5 100644 |
--- a/dbus/object_manager_unittest.cc |
+++ b/dbus/object_manager_unittest.cc |
@@ -113,15 +113,15 @@ class ObjectManagerTest |
protected: |
// Called when an object is added. |
- void ObjectAdded(const dbus::ObjectPath& object_path, |
- const std::string& interface_name) OVERRIDE { |
+ virtual void ObjectAdded(const dbus::ObjectPath& object_path, |
+ const std::string& interface_name) OVERRIDE { |
added_objects_.push_back(std::make_pair(object_path, interface_name)); |
message_loop_.Quit(); |
} |
// Called when an object is removed. |
- void ObjectRemoved(const dbus::ObjectPath& object_path, |
- const std::string& interface_name) OVERRIDE { |
+ virtual void ObjectRemoved(const dbus::ObjectPath& object_path, |
+ const std::string& interface_name) OVERRIDE { |
removed_objects_.push_back(std::make_pair(object_path, interface_name)); |
message_loop_.Quit(); |
} |