Chromium Code Reviews| Index: mojo/public/cpp/bindings/tests/validation_unittest.cc |
| diff --git a/mojo/public/cpp/bindings/tests/validation_unittest.cc b/mojo/public/cpp/bindings/tests/validation_unittest.cc |
| index 31f491e7e9238d3bfab3cf0c5ca2e5587ea3243c..9fac903bbcbf54017e18c277f6e96f79a2b7f1d4 100644 |
| --- a/mojo/public/cpp/bindings/tests/validation_unittest.cc |
| +++ b/mojo/public/cpp/bindings/tests/validation_unittest.cc |
| @@ -6,6 +6,7 @@ |
| #include <algorithm> |
| #include <string> |
| +#include <utility> |
|
viettrungluu
2016/02/05 17:45:45
Hmmm, I don't think you actually added anything th
|
| #include <vector> |
| #include "mojo/public/c/system/macros.h" |
| @@ -434,8 +435,9 @@ TEST_F(ValidationTest, ResponseBoundsCheck) { |
| // - MessageHeaderValidator |
| // - X::ResponseValidator_ |
| TEST_F(ValidationIntegrationTest, InterfacePtr) { |
| - IntegrationTestInterfacePtr interface_ptr = MakeProxy( |
| - InterfaceHandle<IntegrationTestInterface>(testee_endpoint().Pass(), 0u)); |
| + IntegrationTestInterfacePtr interface_ptr = |
| + IntegrationTestInterfacePtr::Create( |
| + InterfaceHandle<IntegrationTestInterface>(testee_endpoint(), 0u)); |
| interface_ptr.internal_state()->router_for_testing()->EnableTestingMode(); |
| mojo::internal::MessageValidatorList validators; |