| Index: chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabActivity.java
|
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabActivity.java b/chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabActivity.java
|
| index 313fa875b0730fb2c249bde0162577031f40e06e..51ed88feda1dd10d21a747a9d99999674dae8cbd 100644
|
| --- a/chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabActivity.java
|
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabActivity.java
|
| @@ -383,9 +383,7 @@ public class CustomTabActivity extends ChromeActivity {
|
| }
|
| DataUseTabUIManager.onCustomTabInitialNavigation(mMainTab, packageName, url);
|
|
|
| - if (mHasCreatedTabEarly) {
|
| - if (!mMainTab.isLoading()) postDeferredStartupIfNeeded();
|
| - } else {
|
| + if (!mHasCreatedTabEarly) {
|
| loadUrlInTab(mMainTab, new LoadUrlParams(url),
|
| IntentHandler.getTimestampFromIntent(getIntent()));
|
| }
|
| @@ -464,7 +462,6 @@ public class CustomTabActivity extends ChromeActivity {
|
| setActiveContentHandler(mCustomTabContentHandler);
|
|
|
| if (getSavedInstanceState() != null || !mIsInitialStart) {
|
| -
|
| if (mIntentDataProvider.isOpenedByChrome()) {
|
| RecordUserAction.record("ChromeGeneratedCustomTab.StartedReopened");
|
| } else {
|
| @@ -482,6 +479,7 @@ public class CustomTabActivity extends ChromeActivity {
|
| RecordUserAction.record("CustomTabs.StartedInitially");
|
| }
|
| }
|
| + if (mHasCreatedTabEarly && !mMainTab.isLoading()) postDeferredStartupIfNeeded();
|
| mIsInitialStart = false;
|
| }
|
|
|
|
|