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

Unified Diff: mojo/public/java/src/org/chromium/mojo/system/InvalidHandle.java

Issue 325953006: Add pass operation on handles. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix findbugs issue Created 6 years, 6 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/java/src/org/chromium/mojo/system/InvalidHandle.java
diff --git a/mojo/public/java/src/org/chromium/mojo/system/InvalidHandle.java b/mojo/public/java/src/org/chromium/mojo/system/InvalidHandle.java
index 2949aa76bb72776cb4aa143eb6185eb845bf695a..e80132dd379ed1ea391eba27f4cfa886e3ebb404 100644
--- a/mojo/public/java/src/org/chromium/mojo/system/InvalidHandle.java
+++ b/mojo/public/java/src/org/chromium/mojo/system/InvalidHandle.java
@@ -61,6 +61,15 @@ public class InvalidHandle implements UntypedHandle, MessagePipeHandle, Consumer
}
/**
+ * @see org.chromium.mojo.system.Handle#pass()
+ */
+ @Override
+ public InvalidHandle pass() {
+ return this;
+ }
+
+
+ /**
* @see Handle#toUntypedHandle()
*/
@Override

Powered by Google App Engine
This is Rietveld 408576698