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

Issue 2539643002: [CCT-Reparenting] Remove tab observer when the tab is removed from model (Closed)

Created:
4 years ago by Yusuf
Modified:
4 years ago
Reviewers:
Ian Wen
CC:
chromium-reviews, lizeb+watch-custom-tabs_chromium.org, agrieve+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[CCT-Reparenting] Remove tab observer when the tab is removed from model In tab reparenting, we never close but only remove the tab from the model. During this process, both tab observer and also the metrics observer was still kept, which leaked over some custom tab features into the tab even after it was reparented. This removes the observers and fixes the related issues. TEST=CustomTabActivityTest#testTabReparentingBasic BUG=669169 Committed: https://crrev.com/7810c370957e89c47198cb52e3bd09d03193f956 Cr-Commit-Position: refs/heads/master@{#435028}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -0 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabActivity.java View 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/customtabs/CustomTabActivityTest.java View 3 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (8 generated)
Yusuf
4 years ago (2016-11-29 00:34:54 UTC) #2
Ian Wen
lgtm
4 years ago (2016-11-29 00:39:24 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2539643002/1
4 years ago (2016-11-29 17:51:15 UTC) #9
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years ago (2016-11-29 17:56:27 UTC) #11
commit-bot: I haz the power
4 years ago (2016-11-29 17:59:04 UTC) #13
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/7810c370957e89c47198cb52e3bd09d03193f956
Cr-Commit-Position: refs/heads/master@{#435028}

Powered by Google App Engine
This is Rietveld 408576698