|
|
DescriptionFix WeakPtrFactory member placement
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/17ad2e4ea855d060b73d8a5f688bba8f066f0b62
Cr-Commit-Position: refs/heads/master@{#298400}
Patch Set 1 #
Total comments: 1
Patch Set 2 : #
Total comments: 1
Patch Set 3 : #Messages
Total messages: 24 (6 generated)
praveen.anp@samsung.com changed reviewers: + pritam.nikam@samsung.com, vivek.vg@samsung.com
PTAL
On 2014/09/18 13:49:13, praveen wrote: > PTAL Hi Praveen, Looks pretty good to me. Now it's time to find appropriate owners who can actually review it. :)
praveen.anp@samsung.com changed reviewers: + sky@chromium.org - pritam.nikam@samsung.com, vivek.vg@samsung.com
PTAL
praveen.anp@samsung.com changed reviewers: + bauerb@chromium.org, nyquist@chromium.org - sky@chromium.org
https://codereview.chromium.org/583623002/diff/1/chrome/browser/android/most_... File chrome/browser/android/most_visited_sites.h (right): https://codereview.chromium.org/583623002/diff/1/chrome/browser/android/most_... chrome/browser/android/most_visited_sites.h:125: enum MostVisitedSource { If you're fixing ordering anyway: This should be first in the private section.
Since mv_source_ is not initialized in the constructor you don't have to update the constructor, yay! Anyway, when you have addressed the comments from bauerb, this lgtm.
On 2014/09/29 15:58:30, Bernhard Bauer wrote: > https://codereview.chromium.org/583623002/diff/1/chrome/browser/android/most_... > File chrome/browser/android/most_visited_sites.h (right): > > https://codereview.chromium.org/583623002/diff/1/chrome/browser/android/most_... > chrome/browser/android/most_visited_sites.h:125: enum MostVisitedSource { > If you're fixing ordering anyway: This should be first in the private section. Done
not lgtm Please sign the CLA before you submit this CL. You can find links here: http://www.chromium.org/developers/contributing-code/external-contributor-che... Update this review when you have done that.
https://codereview.chromium.org/583623002/diff/20001/chrome/browser/android/m... File chrome/browser/android/most_visited_sites.h (right): https://codereview.chromium.org/583623002/diff/20001/chrome/browser/android/m... chrome/browser/android/most_visited_sites.h:64: MostVisitedSource mv_source_; Sorry, this should stay in its original place. According to the style guide, type declarations come before method declarations, which come before members. That means that we'll have to separate these.
On 2014/09/30 13:04:16, Bernhard Bauer wrote: > https://codereview.chromium.org/583623002/diff/20001/chrome/browser/android/m... > File chrome/browser/android/most_visited_sites.h (right): > > https://codereview.chromium.org/583623002/diff/20001/chrome/browser/android/m... > chrome/browser/android/most_visited_sites.h:64: MostVisitedSource mv_source_; > Sorry, this should stay in its original place. According to the style guide, > type declarations come before method declarations, which come before members. > That means that we'll have to separate these. Done
LGTM
On 2014/09/30 06:58:33, nyquist wrote: > not lgtm > > Please sign the CLA before you submit this CL. > > You can find links here: > http://www.chromium.org/developers/contributing-code/external-contributor-che... > > Update this review when you have done that. Signing is done.
The CQ bit was checked by praveen.anp@samsung.com
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/583623002/40001
The CQ bit was unchecked by commit-bot@chromium.org
A disapproval has been posted by following reviewers: nyquist@chromium.org. Please make sure to get positive review before another CQ attempt.
lgtm
The CQ bit was checked by praveen.anp@samsung.com
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/583623002/40001
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as 883bc7717fc6eea493e767fa53affcc195f415b4
Message was sent while issue was closed.
Patchset 3 (id:??) landed as https://crrev.com/17ad2e4ea855d060b73d8a5f688bba8f066f0b62 Cr-Commit-Position: refs/heads/master@{#298400} |