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

Issue 338833005: Fix incognito tab restore regression (Closed)

Created:
6 years, 6 months ago by acleung1
Modified:
6 years, 6 months ago
Reviewers:
Bernhard Bauer
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Fix incognito tab restore regression It seems that the logic from the downstream file is different from the CL that upstreamed it. This CL restores the downstream logic. Consider this case: type == TabLaunchType.FROM_LONGPRESS_BACKGROUND: FALSE type == TabLaunchType.FROM_RESTORE: TRUE mTabModelSelector.isIncognitoSelected(): FALSE isNewTabIncognito: TRUE In the downstream version willOpenInForeground -> TRUE In the current version willOpenInForeground -> FALSE which incorrectlys restores the incognito tab even thought it isn't the current tab model. BUG=383470 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=277851

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/tabmodel/TabModelOrderController.java View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
acleung1
6 years, 6 months ago (2014-06-16 22:55:17 UTC) #1
Bernhard Bauer
LGTM, thanks for catching this! Looks like I missed https://chrome-internal-review.googlesource.com/153007.
6 years, 6 months ago (2014-06-17 09:13:22 UTC) #2
acleung1
The CQ bit was checked by acleung@chromium.org
6 years, 6 months ago (2014-06-17 17:11:42 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/acleung@chromium.org/338833005/1
6 years, 6 months ago (2014-06-17 17:12:43 UTC) #4
commit-bot: I haz the power
6 years, 6 months ago (2014-06-17 20:27:23 UTC) #5
Message was sent while issue was closed.
Change committed as 277851

Powered by Google App Engine
This is Rietveld 408576698