| Index: chrome/browser/android/tab_android.cc
|
| diff --git a/chrome/browser/android/tab_android.cc b/chrome/browser/android/tab_android.cc
|
| index 73e61c0d53e428ac443049417305d74b6e7c7585..dc4c54fc4f677e471d629fd87023cd8e94844b9d 100644
|
| --- a/chrome/browser/android/tab_android.cc
|
| +++ b/chrome/browser/android/tab_android.cc
|
| @@ -258,7 +258,8 @@ bool TabAndroid::ShouldWelcomePageLinkToTermsOfService() {
|
| }
|
|
|
| void TabAndroid::SwapTabContents(content::WebContents* old_contents,
|
| - content::WebContents* new_contents) {
|
| + content::WebContents* new_contents,
|
| + bool did_finish_load) {
|
| JNIEnv* env = base::android::AttachCurrentThread();
|
|
|
| // We need to notify the native InfobarContainer so infobars can be swapped.
|
| @@ -274,7 +275,8 @@ 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_finish_load);
|
| }
|
|
|
| void TabAndroid::Observe(int type,
|
|
|