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

Issue 567873003: Refactoring the weak_ptr_factory order in src/content/child (Closed)

Created:
6 years, 3 months ago by MRV
Modified:
6 years, 3 months ago
Reviewers:
Avi (use Gerrit), jam
CC:
lgombos
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Refactoring the weak_ptr_factory order in src/content/child Changing in the intialization order of WeakPtrFactory such that all member variables should appear before the WeakPtrFactory to ensure that any WeakPtrs to Controller are invalidated before its members variable's destructors are executed, rendering them invalid. BUG=303818 Committed: https://crrev.com/66f9d03f574d2aff47a9c878125e191234201882 Cr-Commit-Position: refs/heads/master@{#294566}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Updated patch as per comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -8 lines) Patch
M content/child/resource_dispatcher.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M content/child/resource_dispatcher.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M content/child/threaded_data_provider.h View 2 chunks +3 lines, -2 lines 0 comments Download
M content/child/threaded_data_provider.cc View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 13 (4 generated)
MRV
avi@chromium.org: Please review changes in src/content/child jam@chromium.org: Please review changes in src/content/child PTAL
6 years, 3 months ago (2014-09-12 05:31:05 UTC) #2
Avi (use Gerrit)
It's pointless to assign two reviewers for the same code. You only need one of ...
6 years, 3 months ago (2014-09-12 05:55:02 UTC) #3
MRV
On 2014/09/12 05:55:02, Avi wrote: > It's pointless to assign two reviewers for the same ...
6 years, 3 months ago (2014-09-12 06:06:15 UTC) #4
MRV
Done, thank you. https://codereview.chromium.org/567873003/diff/1/content/child/resource_dispatcher.h File content/child/resource_dispatcher.h (right): https://codereview.chromium.org/567873003/diff/1/content/child/resource_dispatcher.h#newcode221 content/child/resource_dispatcher.h:221: base::WeakPtrFactory<ResourceDispatcher> weak_factory_; On 2014/09/12 05:55:01, Avi ...
6 years, 3 months ago (2014-09-12 06:06:32 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/567873003/20001
6 years, 3 months ago (2014-09-12 06:07:58 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_rel/builds/14874)
6 years, 3 months ago (2014-09-12 06:29:12 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/567873003/20001
6 years, 3 months ago (2014-09-12 06:33:58 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001) as 8846b461ae3edeaa5433f97807d1d7b00ffcf5a7
6 years, 3 months ago (2014-09-12 09:52:35 UTC) #12
commit-bot: I haz the power
6 years, 3 months ago (2014-09-12 09:58:59 UTC) #13
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/66f9d03f574d2aff47a9c878125e191234201882
Cr-Commit-Position: refs/heads/master@{#294566}

Powered by Google App Engine
This is Rietveld 408576698