summaryrefslogtreecommitdiff
path: root/chromium/mojo/public/cpp/bindings/binding.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/mojo/public/cpp/bindings/binding.h')
-rw-r--r--chromium/mojo/public/cpp/bindings/binding.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/chromium/mojo/public/cpp/bindings/binding.h b/chromium/mojo/public/cpp/bindings/binding.h
index bd650c79a40..4993de731f6 100644
--- a/chromium/mojo/public/cpp/bindings/binding.h
+++ b/chromium/mojo/public/cpp/bindings/binding.h
@@ -138,11 +138,10 @@ class Binding {
// true if a method was successfully read and dispatched.
//
// This method may only be called if the object has been bound to a message
- // pipe. This returns once a message is received either on the master
+ // pipe. This returns once a message is received either on the primary
// interface or any associated interfaces.
- bool WaitForIncomingMethodCall(
- MojoDeadline deadline = MOJO_DEADLINE_INDEFINITE) {
- return internal_state_.WaitForIncomingMethodCall(deadline);
+ bool WaitForIncomingMethodCall() {
+ return internal_state_.WaitForIncomingMethodCall();
}
// Closes the message pipe that was previously bound. Put this object into a