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

Issue 2329243002: Implement WTF::WeakPtr in terms of base::WeakPtr (Closed)

Created:
4 years, 3 months ago by dcheng
Modified:
4 years, 3 months ago
Reviewers:
esprehn
CC:
ajuma+watch_chromium.org, alex clarke (OOO till 29th), blink-reviews, blink-reviews-html_chromium.org, blink-reviews-platform-graphics_chromium.org, blink-reviews-wtf_chromium.org, Rik, chromium-reviews, danakj+watch_chromium.org, dglazkov+blink, dshwang, drott+blinkwatch_chromium.org, krit, f(malita), gavinp+loader_chromium.org, hiroshige, Nate Chapin, jbroman, Justin Novosad, kinuko+watch, loading-reviews_chromium.org, loading-reviews+parser_chromium.org, Mikhail, pdr+graphicswatchlist_chromium.org, rwlbuis, Stephen Chennney, tyoshino+watch_chromium.org, tzik, Wez
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement WTF::WeakPtr in terms of base::WeakPtr BUG=645774 Committed: https://crrev.com/24430ece16aa10aa57644daeddafe25032fd359c Cr-Commit-Position: refs/heads/master@{#418441}

Patch Set 1 #

Patch Set 2 : Thread-safety fix with comment #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -139 lines) Patch
M third_party/WebKit/Source/core/dom/MainThreadTaskRunner.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/MainThreadTaskRunner.cpp View 1 2 chunks +3 lines, -1 line 2 comments Download
M third_party/WebKit/Source/core/html/parser/BackgroundHTMLParser.h View 2 chunks +6 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/html/parser/BackgroundHTMLParser.cpp View 4 chunks +12 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp View 2 chunks +9 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/core/loader/ImageLoader.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/CrossThreadCopier.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/fonts/FontFallbackList.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/wtf/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/wtf/Forward.h View 2 chunks +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/wtf/Functional.h View 2 chunks +0 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/wtf/WeakPtr.h View 1 chunk +7 lines, -109 lines 0 comments Download

Messages

Total messages: 18 (11 generated)
dcheng
I'd like to reland this sooner rather than later; WeakPtr usage is going to increase, ...
4 years, 3 months ago (2016-09-10 19:04:11 UTC) #8
dcheng
I built tsan locally and tested to verify that it all works. Re: GetWeakPtr() / ...
4 years, 3 months ago (2016-09-12 21:07:31 UTC) #11
esprehn
lgtm, are you sure it's okay to share a weakptr like that? Why would we ...
4 years, 3 months ago (2016-09-13 19:44:22 UTC) #12
dcheng
https://codereview.chromium.org/2329243002/diff/40001/third_party/WebKit/Source/core/dom/MainThreadTaskRunner.cpp File third_party/WebKit/Source/core/dom/MainThreadTaskRunner.cpp (right): https://codereview.chromium.org/2329243002/diff/40001/third_party/WebKit/Source/core/dom/MainThreadTaskRunner.cpp#newcode56 third_party/WebKit/Source/core/dom/MainThreadTaskRunner.cpp:56: m_weakPtr, On 2016/09/13 19:44:21, esprehn wrote: > This means ...
4 years, 3 months ago (2016-09-13 19:51:41 UTC) #13
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/2329243002/40001
4 years, 3 months ago (2016-09-13 22:42:56 UTC) #15
commit-bot: I haz the power
Committed patchset #2 (id:40001)
4 years, 3 months ago (2016-09-14 00:47:24 UTC) #16
commit-bot: I haz the power
4 years, 3 months ago (2016-09-14 00:50:05 UTC) #18
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/24430ece16aa10aa57644daeddafe25032fd359c
Cr-Commit-Position: refs/heads/master@{#418441}

Powered by Google App Engine
This is Rietveld 408576698