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

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

Issue 291103004: Add conversion from Handle to UntypedHandle (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: HandleImpl -> HandleBase Created 6 years, 7 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
« no previous file with comments | « mojo/public/java/src/org/chromium/mojo/system/Handle.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 2d321dc264c8aabcd97c815ae4084d659a1ff15a..3378d90d6e777b5a6af7d1c09853db1303a1b533 100644
--- a/mojo/public/java/src/org/chromium/mojo/system/InvalidHandle.java
+++ b/mojo/public/java/src/org/chromium/mojo/system/InvalidHandle.java
@@ -43,6 +43,14 @@ public class InvalidHandle implements UntypedHandle, MessagePipeHandle, Consumer
}
/**
+ * @see Handle#toUntypedHandle()
+ */
+ @Override
+ public UntypedHandle toUntypedHandle() {
+ return this;
+ }
+
+ /**
* @see UntypedHandle#toMessagePipeHandle()
*/
@Override
« no previous file with comments | « mojo/public/java/src/org/chromium/mojo/system/Handle.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698