Fix comment on Interface close.
The behavior is different between implementations and proxies.
R=ppi@chromium.org, ppi
Review URL: https://codereview.chromium.org/1959043002 .
diff --git a/mojo/public/java/bindings/src/org/chromium/mojo/bindings/Interface.java b/mojo/public/java/bindings/src/org/chromium/mojo/bindings/Interface.java
index 38d8114..f1d892d 100644
--- a/mojo/public/java/bindings/src/org/chromium/mojo/bindings/Interface.java
+++ b/mojo/public/java/bindings/src/org/chromium/mojo/bindings/Interface.java
@@ -17,9 +17,12 @@
* Base class for mojo generated interfaces.
*/
public interface Interface extends ConnectionErrorHandler, Closeable {
-
/**
- * The close method is called when the connection to the interface is closed.
+ * If the interface is an implementation, the close method is called when the connection to the
+ * implementation is closed.
+ * <p>
+ * If the interface is a proxy, the close method closes the connection to the implementation.
+ * This method must be called before the proxy is released.
*
* @see java.io.Closeable#close()
*/