Index: chrome/android/java/src/org/chromium/chrome/browser/tabmodel/document/TabDelegate.java |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/tabmodel/document/TabDelegate.java b/chrome/android/java/src/org/chromium/chrome/browser/tabmodel/document/TabDelegate.java |
index 0260c27ec3384a3a340ab7a0ab750f19ac7c2081..35d7638f28ddb747c999e4998a0b7c99d5275118 100644 |
--- a/chrome/android/java/src/org/chromium/chrome/browser/tabmodel/document/TabDelegate.java |
+++ b/chrome/android/java/src/org/chromium/chrome/browser/tabmodel/document/TabDelegate.java |
@@ -10,6 +10,7 @@ import org.chromium.chrome.browser.Tab; |
import org.chromium.chrome.browser.document.PendingDocumentData; |
import org.chromium.chrome.browser.tabmodel.document.DocumentTabModel.Entry; |
import org.chromium.content_public.browser.LoadUrlParams; |
+import org.chromium.content_public.browser.WebContents; |
/** |
* Provides Tabs to a DocumentTabModel. |
@@ -42,10 +43,10 @@ public interface TabDelegate { |
/** |
* Creates a new Activity for the pre-created WebContents. |
* @param isIncognito Whether the Activity is supposed to hold an incognito Tab. |
- * @param webContentsPtr Native-side WebContents pointer to use for the new Tab. |
+ * @param webContents WebContents to use with the new Tab. |
* @param parentTabId ID of the spawning Tab. |
*/ |
- void createTabWithNativeContents(boolean isIncognito, long webContentsPtr, int parentTabId); |
+ void createTabWithWebContents(boolean isIncognito, WebContents webContents, int parentTabId); |
/** |
* Creates a new Tab for a URL typed into DevTools. |