Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1562)

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/document/DocumentMigrationHelper.java

Issue 1408853002: [Tabbed mode] Restore tabs even if TabState is missing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added test Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/android/java/src/org/chromium/chrome/browser/document/DocumentMigrationHelper.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/document/DocumentMigrationHelper.java b/chrome/android/java/src/org/chromium/chrome/browser/document/DocumentMigrationHelper.java
index b33cae9c71768b1e78bd6b6e32144e93c08588fc..db9f1bb69299002653a8f12b3c6d84a884a1e6f9 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/document/DocumentMigrationHelper.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/document/DocumentMigrationHelper.java
@@ -81,8 +81,8 @@ public class DocumentMigrationHelper {
private int mSelectedTabId = Tab.INVALID_TAB_ID;
@Override
- public void onDetailsRead(int index, int id, String url, boolean isStandardActiveIndex,
- boolean isIncognitoActiveIndex) {
+ public void onDetailsRead(int index, int id, String url, Boolean isIncognito,
+ boolean isStandardActiveIndex, boolean isIncognitoActiveIndex) {
TabIdManager.getInstance().incrementIdCounterTo(id + 1);
if (!isStandardActiveIndex) return;
// If the current tab read is the active standard tab, set the last used

Powered by Google App Engine
This is Rietveld 408576698