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

Issue 1320563003: Oilpan: avoid using WeakPtr<> for heap residing objects. (Closed)

Created:
5 years, 3 months ago by sof
Modified:
5 years, 3 months ago
Reviewers:
oilpan-reviews, haraken
CC:
blink-reviews, blink-reviews-html_chromium.org, oilpan-reviews, Mads Ager (chromium), sof, eae+blinkwatch, blink-reviews-dom_chromium.org, dglazkov+blink, kouhei+heap_chromium.org, rwlbuis
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Oilpan: avoid using WeakPtr<> for heap residing objects. GlobalFetch::ScopedFetcher instances are heap objects, so avoid using WeakPtr<>s over those. Also switch over to using WeakPtr* transition types where possible. R=haraken BUG=509911 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201305

Patch Set 1 #

Patch Set 2 : drop unnecessary uses of WeakMember<> #

Patch Set 3 : revert unrelated unit test addition #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -54 lines) Patch
M Source/core/dom/MainThreadTaskRunner.cpp View 1 chunk +1 line, -5 lines 0 comments Download
M Source/core/html/FormAssociatedElement.h View 1 chunk +1 line, -5 lines 0 comments Download
M Source/core/html/FormAssociatedElement.cpp View 1 chunk +0 lines, -4 lines 0 comments Download
M Source/core/html/HTMLImageElement.h View 1 chunk +1 line, -5 lines 0 comments Download
M Source/modules/cachestorage/Cache.h View 1 3 chunks +4 lines, -4 lines 2 comments Download
M Source/modules/cachestorage/Cache.cpp View 2 chunks +10 lines, -3 lines 0 comments Download
M Source/modules/cachestorage/CacheStorage.h View 1 2 chunks +3 lines, -3 lines 1 comment Download
M Source/modules/cachestorage/CacheStorage.cpp View 3 chunks +3 lines, -2 lines 0 comments Download
M Source/modules/cachestorage/CacheTest.cpp View 10 chunks +34 lines, -14 lines 0 comments Download
M Source/modules/fetch/GlobalFetch.h View 1 chunk +3 lines, -3 lines 0 comments Download
M Source/modules/fetch/GlobalFetch.cpp View 3 chunks +14 lines, -6 lines 0 comments Download
M Source/platform/heap/Handle.h View 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (5 generated)
sof
please take a look.
5 years, 3 months ago (2015-08-26 15:46:21 UTC) #2
haraken
https://codereview.chromium.org/1320563003/diff/40001/Source/modules/cachestorage/Cache.h File Source/modules/cachestorage/Cache.h (right): https://codereview.chromium.org/1320563003/diff/40001/Source/modules/cachestorage/Cache.h#newcode70 Source/modules/cachestorage/Cache.h:70: WeakPtrWillBeMember<GlobalFetch::ScopedFetcher> m_scopedFetcher; I'm wondering why this needs to be ...
5 years, 3 months ago (2015-08-27 00:41:06 UTC) #4
sof
https://codereview.chromium.org/1320563003/diff/40001/Source/modules/cachestorage/Cache.h File Source/modules/cachestorage/Cache.h (right): https://codereview.chromium.org/1320563003/diff/40001/Source/modules/cachestorage/Cache.h#newcode70 Source/modules/cachestorage/Cache.h:70: WeakPtrWillBeMember<GlobalFetch::ScopedFetcher> m_scopedFetcher; On 2015/08/27 00:41:05, haraken wrote: > > ...
5 years, 3 months ago (2015-08-27 05:17:13 UTC) #5
haraken
On 2015/08/27 05:17:13, sof wrote: > https://codereview.chromium.org/1320563003/diff/40001/Source/modules/cachestorage/Cache.h > File Source/modules/cachestorage/Cache.h (right): > > https://codereview.chromium.org/1320563003/diff/40001/Source/modules/cachestorage/Cache.h#newcode70 > ...
5 years, 3 months ago (2015-08-27 05:18:47 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1320563003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1320563003/40001
5 years, 3 months ago (2015-08-27 05:25:34 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/99305)
5 years, 3 months ago (2015-08-27 08:19:04 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1320563003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1320563003/40001
5 years, 3 months ago (2015-08-27 09:03:26 UTC) #12
commit-bot: I haz the power
5 years, 3 months ago (2015-08-27 10:50:55 UTC) #13
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=201305

Powered by Google App Engine
This is Rietveld 408576698