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

Unified Diff: mojo/public/cpp/bindings/tests/validation_unittest.cc

Issue 1118843003: Remove some InterfacePtr<> methods which directly deal with message pipe handles. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 8 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
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 b56580f1fbd185a152772b69a6b2d965cef97954..9b4e271a6b088aef2048d2d7b3fa8055090af8fe 100644
--- a/mojo/public/cpp/bindings/tests/validation_unittest.cc
+++ b/mojo/public/cpp/bindings/tests/validation_unittest.cc
@@ -408,8 +408,8 @@ TEST_F(ValidationTest, ResponseBoundsCheck) {
// - MessageHeaderValidator
// - X::ResponseValidator_
TEST_F(ValidationIntegrationTest, InterfacePtr) {
- IntegrationTestInterfacePtr interface_ptr =
- MakeProxy<IntegrationTestInterface>(testee_endpoint().Pass());
+ IntegrationTestInterfacePtr interface_ptr = MakeProxy(
+ InterfacePtrInfo<IntegrationTestInterface>(testee_endpoint().Pass(), 0u));
interface_ptr.internal_state()->router_for_testing()->EnableTestingMode();
RunValidationTests("integration_intf_resp", test_message_receiver());

Powered by Google App Engine
This is Rietveld 408576698