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

Issue 2223883002: customtabs: Keep a reference to Tab in PageLoadMetricsObserver, not WebContents. (Closed)

Created:
4 years, 4 months ago by Benoit L
Modified:
4 years, 4 months ago
Reviewers:
Yusuf
CC:
chromium-reviews, lizeb+watch-custom-tabs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

customtabs: Keep a reference to Tab in PageLoadMetricsObserver, not WebContents. The lifetime of the PageLoadMetricsObserver in CustomTabActivity is tied to the tab, not to the WebContents. It makes more sense to capture a reference to the tab. This might be related to crbug.com/633186, even though no evidence of leak was found. Regardless, this makes more sense. BUG=633186 Committed: https://crrev.com/463006e76317b10db50e6106f60b5dcaa3c3a19f Cr-Commit-Position: refs/heads/master@{#410615}

Patch Set 1 #

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

Messages

Total messages: 12 (7 generated)
Benoit L
4 years, 4 months ago (2016-08-08 15:14:53 UTC) #6
Yusuf
lgtm
4 years, 4 months ago (2016-08-08 21:47:19 UTC) #7
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/2223883002/1
4 years, 4 months ago (2016-08-09 08:14:38 UTC) #9
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 4 months ago (2016-08-09 08:20:23 UTC) #10
commit-bot: I haz the power
4 years, 4 months ago (2016-08-09 08:21:57 UTC) #12
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/463006e76317b10db50e6106f60b5dcaa3c3a19f
Cr-Commit-Position: refs/heads/master@{#410615}

Powered by Google App Engine
This is Rietveld 408576698