Chromium Code Reviews| Index: mojo/application_manager/application_manager_unittest.cc |
| diff --git a/mojo/application_manager/application_manager_unittest.cc b/mojo/application_manager/application_manager_unittest.cc |
| index 5763265f37939aace9b3480fab502b05cc45a8a0..a5d750ec5df4ef6c78acea2893e935c1c7a7756d 100644 |
| --- a/mojo/application_manager/application_manager_unittest.cc |
| +++ b/mojo/application_manager/application_manager_unittest.cc |
| @@ -108,9 +108,7 @@ class TestApplicationLoader : public ApplicationLoader, |
| void set_context(TestContext* context) { context_ = context; } |
| int num_loads() const { return num_loads_; } |
| - std::vector<std::string> GetArgs() { |
| - return test_app_->args().To<std::vector<std::string> >(); |
| - } |
| + const std::vector<std::string>& GetArgs() { return test_app_->args(); } |
|
viettrungluu
2014/10/16 22:47:19
This method should be const.
|
| private: |
| // ApplicationLoader implementation. |