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

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

Created:
4 years, 3 months ago by dcheng
Modified:
4 years, 3 months ago
CC:
ajuma+watch_chromium.org, 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, Nate Chapin, jbroman, Justin Novosad, kinuko+watch, kouhei (in TOK), loading-reviews+parser_chromium.org, loading-reviews_chromium.org, Mikhail, pdr+graphicswatchlist_chromium.org, rwlbuis, Stephen Chennney, tyoshino+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement WTF::WeakPtr in terms of base::WeakPtr BUG=none Committed: https://crrev.com/288b352ea69e3cff2540ac701bb181485d423192 Cr-Commit-Position: refs/heads/master@{#416133}

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Patch Set 4 : . #

Total comments: 1

Patch Set 5 : Add TODO #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -138 lines) Patch
M third_party/WebKit/Source/core/html/parser/BackgroundHTMLParser.h View 1 2 3 2 chunks +6 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/html/parser/BackgroundHTMLParser.cpp View 1 2 3 4 chunks +12 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp View 1 2 3 4 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: 33 (21 generated)
Charlie Harrison
I think we either have to: 1. Destroy the bg parser on the main thread. ...
4 years, 3 months ago (2016-09-01 18:48:16 UTC) #11
esprehn
On 2016/09/01 at 18:48:16, csharrison wrote: > I think we either have to: > 1. ...
4 years, 3 months ago (2016-09-01 18:59:48 UTC) #13
Charlie Harrison
On 2016/09/01 18:59:48, esprehn wrote: > On 2016/09/01 at 18:48:16, csharrison wrote: > > I ...
4 years, 3 months ago (2016-09-01 19:17:16 UTC) #16
Charlie Harrison
https://codereview.chromium.org/2300813003/diff/60001/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp File third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp (right): https://codereview.chromium.org/2300813003/diff/60001/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp#newcode787 third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp:787: postTaskToLookaheadParser(Synchronous, &BackgroundHTMLParser::init, m_backgroundParser, document()->url(), passed(CachedDocumentParameters::create(document())), MediaValuesCached::MediaValuesCachedData(*document())); This method is ...
4 years, 3 months ago (2016-09-01 19:25:31 UTC) #17
dcheng
This CL wasn't quite ready for review, but I guess everyone found it. I'm happy ...
4 years, 3 months ago (2016-09-01 19:27:42 UTC) #18
dcheng
OK, bots seem OK, so PTAL. I added a TODO per csharrison's suggestion.
4 years, 3 months ago (2016-09-01 20:12:19 UTC) #19
Charlie Harrison
It lgtm as long as esprehn is happy.
4 years, 3 months ago (2016-09-01 20:21:42 UTC) #22
esprehn
lgtm
4 years, 3 months ago (2016-09-01 21:36:18 UTC) #23
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/2300813003/80001
4 years, 3 months ago (2016-09-01 22:26:11 UTC) #28
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 3 months ago (2016-09-02 00:00:17 UTC) #30
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/288b352ea69e3cff2540ac701bb181485d423192 Cr-Commit-Position: refs/heads/master@{#416133}
4 years, 3 months ago (2016-09-02 00:02:11 UTC) #32
hiroshige
4 years, 3 months ago (2016-09-07 02:06:48 UTC) #33
Message was sent while issue was closed.
A revert of this CL (patchset #5 id:80001) has been created in
https://codereview.chromium.org/2318883002/ by hiroshige@chromium.org.

The reason for reverting is: Caused data races/crashes.

BUG=643777.

Powered by Google App Engine
This is Rietveld 408576698