summaryrefslogtreecommitdiffstats
path: root/chrome/browser/android/tab_android.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/android/tab_android.cc')
-rw-r--r--chrome/browser/android/tab_android.cc8
1 files changed, 6 insertions, 2 deletions
diff --git a/chrome/browser/android/tab_android.cc b/chrome/browser/android/tab_android.cc
index 73e61c0..3f622b1 100644
--- a/chrome/browser/android/tab_android.cc
+++ b/chrome/browser/android/tab_android.cc
@@ -258,7 +258,9 @@ bool TabAndroid::ShouldWelcomePageLinkToTermsOfService() {
}
void TabAndroid::SwapTabContents(content::WebContents* old_contents,
- content::WebContents* new_contents) {
+ content::WebContents* new_contents,
+ bool did_start_load,
+ bool did_finish_load) {
JNIEnv* env = base::android::AttachCurrentThread();
// We need to notify the native InfobarContainer so infobars can be swapped.
@@ -274,7 +276,9 @@ void TabAndroid::SwapTabContents(content::WebContents* old_contents,
Java_TabBase_swapWebContents(
env,
weak_java_tab_.get(env).obj(),
- reinterpret_cast<intptr_t>(new_contents));
+ reinterpret_cast<intptr_t>(new_contents),
+ did_start_load,
+ did_finish_load);
}
void TabAndroid::Observe(int type,