Index: content/public/android/java/src/org/chromium/content_public/browser/WebContents.java |
diff --git a/content/public/android/java/src/org/chromium/content_public/browser/WebContents.java b/content/public/android/java/src/org/chromium/content_public/browser/WebContents.java |
index 22bb994a982b845057fc8f3963a109d7e7e9f5ea..364127a76b3d160fbea9e69f0be59c913d34ea27 100644 |
--- a/content/public/android/java/src/org/chromium/content_public/browser/WebContents.java |
+++ b/content/public/android/java/src/org/chromium/content_public/browser/WebContents.java |
@@ -269,7 +269,7 @@ public interface WebContents extends Parcelable { |
* Dispatches a Message event to the specified frame. |
*/ |
void postMessageToFrame(String frameName, String message, |
- String sourceOrigin, String targetOrigin, int[] sentPortIds); |
+ String sourceOrigin, String targetOrigin, MessagePort[] ports); |
/** |
* Creates a message channel for sending postMessage requests and returns the ports for |
@@ -277,7 +277,7 @@ public interface WebContents extends Parcelable { |
* @param service The message port service to register the channel with. |
* @return The ports that forms the ends of the message channel created. |
*/ |
- MessagePort[] createMessageChannel(MessagePortService service); |
+ MessagePort[] createMessageChannel(); |
/** |
* Returns whether the initial empty page has been accessed by a script from another |