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

Issue 554233002: Refactoring the WeakPtrFactory usage, Member variables should appear before the WeakPtrFactory, to … (Closed)

Created:
6 years, 3 months ago by MRV
Modified:
6 years, 3 months ago
CC:
lgombos, vivekg_samsung
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Refactoring the WeakPtrFactory usage, 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/d97aafa2698638f2f207538980014b6e461e382c Cr-Commit-Position: refs/heads/master@{#294163}

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -39 lines) Patch
M components/autofill/core/browser/webdata/autofill_webdata_service.h View 1 chunk +2 lines, -2 lines 0 comments Download
M components/autofill/core/browser/webdata/autofill_webdata_service.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M components/nacl/browser/nacl_browser.h View 2 chunks +3 lines, -2 lines 0 comments Download
M components/nacl/browser/nacl_browser.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M components/nacl/browser/nacl_process_host.h View 2 chunks +2 lines, -2 lines 0 comments Download
M components/nacl/browser/nacl_process_host.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M components/policy/core/common/async_policy_loader.h View 2 chunks +3 lines, -3 lines 0 comments Download
M components/policy/core/common/cloud/user_cloud_policy_store.h View 2 chunks +3 lines, -3 lines 0 comments Download
M components/policy/core/common/cloud/user_cloud_policy_store.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M components/signin/core/browser/signin_manager.h View 2 chunks +2 lines, -2 lines 0 comments Download
M components/signin/core/browser/signin_manager.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M components/storage_monitor/portable_device_watcher_win.h View 1 chunk +3 lines, -3 lines 3 comments Download
M components/suggestions/suggestions_service.h View 1 chunk +3 lines, -3 lines 0 comments Download
M components/suggestions/suggestions_service.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M components/sync_driver/model_association_manager.h View 1 chunk +2 lines, -2 lines 0 comments Download
M components/sync_driver/model_association_manager.cc View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 14 (4 generated)
MRV
ben@chromium.org: Please review changes in src/components darin@chromium.org: Please review changes in src/components blundell@chromium.org: Please review ...
6 years, 3 months ago (2014-09-09 09:39:42 UTC) #2
blundell
You don't need Ben or Darin's review here. https://codereview.chromium.org/554233002/diff/1/components/storage_monitor/portable_device_watcher_win.h File components/storage_monitor/portable_device_watcher_win.h (right): https://codereview.chromium.org/554233002/diff/1/components/storage_monitor/portable_device_watcher_win.h#newcode137 components/storage_monitor/portable_device_watcher_win.h:137: No ...
6 years, 3 months ago (2014-09-09 14:50:52 UTC) #3
MRV
Thanks Mr. Blundell for your review. updated my inline comments. PTAL https://codereview.chromium.org/554233002/diff/1/components/storage_monitor/portable_device_watcher_win.h File components/storage_monitor/portable_device_watcher_win.h (right): ...
6 years, 3 months ago (2014-09-10 03:01:20 UTC) #4
blundell
LGTM https://codereview.chromium.org/554233002/diff/1/components/storage_monitor/portable_device_watcher_win.h File components/storage_monitor/portable_device_watcher_win.h (right): https://codereview.chromium.org/554233002/diff/1/components/storage_monitor/portable_device_watcher_win.h#newcode137 components/storage_monitor/portable_device_watcher_win.h:137: On 2014/09/10 03:01:20, MRV wrote: > On 2014/09/09 ...
6 years, 3 months ago (2014-09-10 06:25:04 UTC) #5
MRV
Thanks Mr. blundell for LGTM
6 years, 3 months ago (2014-09-10 06:26:33 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mohan.reddy@samsung.com/554233002/1
6 years, 3 months ago (2014-09-10 06:28:00 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_swarming on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_swarming/builds/10851)
6 years, 3 months ago (2014-09-10 07:52:07 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mohan.reddy@samsung.com/554233002/1
6 years, 3 months ago (2014-09-10 12:58:31 UTC) #12
commit-bot: I haz the power
Committed patchset #1 (id:1) as e836da3b6bd712032a5f1c612493fdd7ddfb09a3
6 years, 3 months ago (2014-09-10 13:38:58 UTC) #13
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 13:44:50 UTC) #14
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/d97aafa2698638f2f207538980014b6e461e382c
Cr-Commit-Position: refs/heads/master@{#294163}

Powered by Google App Engine
This is Rietveld 408576698