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

Unified Diff: mojo/bindings/java/src/org/chromium/mojo/bindings/ExecutorFactory.java

Issue 397493007: Add support for MojoCreateMessagePipeOptions struct to Java bindings (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebasing Created 6 years, 5 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/bindings/java/src/org/chromium/mojo/bindings/ExecutorFactory.java
diff --git a/mojo/bindings/java/src/org/chromium/mojo/bindings/ExecutorFactory.java b/mojo/bindings/java/src/org/chromium/mojo/bindings/ExecutorFactory.java
index 6f5e02be8ea488b0f59d7570976d6f49d89e7635..d0d5c3bcf211dc495d765c4c6cacb6885af9fcea 100644
--- a/mojo/bindings/java/src/org/chromium/mojo/bindings/ExecutorFactory.java
+++ b/mojo/bindings/java/src/org/chromium/mojo/bindings/ExecutorFactory.java
@@ -68,7 +68,8 @@ class ExecutorFactory {
mWaiter = core.getDefaultAsyncWaiter();
assert mWaiter != null;
mLock = new Object();
- Pair<MessagePipeHandle, MessagePipeHandle> handles = core.createMessagePipe();
+ Pair<MessagePipeHandle, MessagePipeHandle> handles = core.createMessagePipe(
+ new MessagePipeHandle.CreateOptions());
mReadHandle = handles.first;
mWriteHandle = handles.second;
mPendingActions = new ArrayList<Runnable>();

Powered by Google App Engine
This is Rietveld 408576698