Index: mojo/android/system/src/org/chromium/mojo/system/impl/DataPipeConsumerHandleImpl.java |
diff --git a/mojo/android/system/src/org/chromium/mojo/system/impl/DataPipeConsumerHandleImpl.java b/mojo/android/system/src/org/chromium/mojo/system/impl/DataPipeConsumerHandleImpl.java |
index fa6a5c1613d614c05218afeb59791231c596e606..ab6f1ea659b77c738d66e92d1d7986d171e09ec4 100644 |
--- a/mojo/android/system/src/org/chromium/mojo/system/impl/DataPipeConsumerHandleImpl.java |
+++ b/mojo/android/system/src/org/chromium/mojo/system/impl/DataPipeConsumerHandleImpl.java |
@@ -24,11 +24,19 @@ class DataPipeConsumerHandleImpl extends HandleBase implements ConsumerHandle { |
/** |
* @see HandleBase#HandleBase(HandleBase) |
*/ |
- DataPipeConsumerHandleImpl(UntypedHandleImpl other) { |
+ DataPipeConsumerHandleImpl(HandleBase other) { |
super(other); |
} |
/** |
+ * @see org.chromium.mojo.system.Handle#pass() |
+ */ |
+ @Override |
+ public ConsumerHandle pass() { |
+ return new DataPipeConsumerHandleImpl(this); |
+ } |
+ |
+ /** |
* @see ConsumerHandle#discardData(int, ReadFlags) |
*/ |
@Override |