Index: chrome/android/java/src/org/chromium/chrome/browser/ChromeActivitySessionTracker.java |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ChromeActivitySessionTracker.java b/chrome/android/java/src/org/chromium/chrome/browser/ChromeActivitySessionTracker.java |
index dcdad1e697ee0e3c0bfcbb2b5a9c5ac5dbc07be8..36cc09757eb14a6e7d6cf38c2216d77e0ffb27f6 100644 |
--- a/chrome/android/java/src/org/chromium/chrome/browser/ChromeActivitySessionTracker.java |
+++ b/chrome/android/java/src/org/chromium/chrome/browser/ChromeActivitySessionTracker.java |
@@ -25,6 +25,7 @@ import org.chromium.chrome.browser.metrics.VariationsSession; |
import org.chromium.chrome.browser.notifications.NotificationPlatformBridge; |
import org.chromium.chrome.browser.partnercustomizations.PartnerBrowserCustomizations; |
import org.chromium.chrome.browser.preferences.PrefServiceBridge; |
+import org.chromium.chrome.browser.preferences.privacy.BrowsingDataBridge; |
import org.chromium.chrome.browser.share.ShareHelper; |
import org.chromium.chrome.browser.tabmodel.TabModelSelector; |
import org.chromium.chrome.browser.util.FeatureUtilities; |
@@ -192,8 +193,8 @@ public class ChromeActivitySessionTracker { |
// So cache-clearing may not be effective if URL rendering can happen before |
// OnBrowsingDataRemoverDone() is called, in which case we may have to reload as well. |
// Check if it can happen. |
- instance.clearBrowsingData( |
- null, new int[]{ BrowsingDataType.CACHE }, TimePeriod.ALL_TIME); |
+ BrowsingDataBridge.getInstance().clearBrowsingData( |
+ null, new int[] {BrowsingDataType.CACHE}, TimePeriod.ALL_TIME); |
} |
} |