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

Issue 2848723002: Use a weak pointer when binding GuestViewBase::DidAttach. (Closed)

Created:
3 years, 7 months ago by lfg
Modified:
3 years, 7 months ago
Reviewers:
wjmaclean
CC:
chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Use a weak pointer when binding GuestViewBase::DidAttach. The lifetime of GuestViewBase doesn't match the lifetime of GuestViewMessageFilter, so it's possible that the GuestViewBase is already destroyed by the time this callback is called. BUG=716223 Review-Url: https://codereview.chromium.org/2848723002 Cr-Commit-Position: refs/heads/master@{#468072} Committed: https://chromium.googlesource.com/chromium/src/+/14efbd4e93447f07f72c3978aed2ef9b0a0464d1

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -8 lines) Patch
M components/guest_view/browser/guest_view_message_filter.h View 2 chunks +0 lines, -3 lines 0 comments Download
M components/guest_view/browser/guest_view_message_filter.cc View 2 chunks +2 lines, -5 lines 0 comments Download

Messages

Total messages: 13 (9 generated)
lfg
James, can you take a look?
3 years, 7 months ago (2017-04-28 16:10:41 UTC) #7
wjmaclean
On 2017/04/28 16:10:41, lfg wrote: > James, can you take a look? lgtm
3 years, 7 months ago (2017-04-28 17:56:46 UTC) #8
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/2848723002/1
3 years, 7 months ago (2017-04-28 18:22:36 UTC) #10
commit-bot: I haz the power
3 years, 7 months ago (2017-04-28 18:42:01 UTC) #13
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/14efbd4e93447f07f72c3978aed2...

Powered by Google App Engine
This is Rietveld 408576698