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

Issue 2567933003: Remove DOMWindowProperty from PingLoaderImpl (Closed)

Created:
4 years ago by haraken
Modified:
4 years ago
Reviewers:
sof
CC:
chromium-reviews, blink-reviews, loading-reviews_chromium.org, tyoshino+watch_chromium.org, Nate Chapin, gavinp+loader_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove DOMWindowProperty from PingLoaderImpl PingLoaderImpl just needs a WeakMember<LocalFrame>. It doesn't need to inherit from DOMWindowProperty. BUG=610176 Committed: https://crrev.com/89aaa753cac97aa76612a34dcff6bd5d1a78d698 Cr-Commit-Position: refs/heads/master@{#437894}

Patch Set 1 #

Total comments: 4

Patch Set 2 : temp #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -26 lines) Patch
M third_party/WebKit/Source/core/loader/PingLoader.h View 1 1 chunk +0 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/loader/PingLoader.cpp View 1 10 chunks +24 lines, -19 lines 0 comments Download

Messages

Total messages: 16 (7 generated)
haraken
PTAL
4 years ago (2016-12-12 06:09:15 UTC) #2
sof
lgtm https://codereview.chromium.org/2567933003/diff/1/third_party/WebKit/Source/core/loader/PingLoader.cpp File third_party/WebKit/Source/core/loader/PingLoader.cpp (right): https://codereview.chromium.org/2567933003/diff/1/third_party/WebKit/Source/core/loader/PingLoader.cpp#newcode189 third_party/WebKit/Source/core/loader/PingLoader.cpp:189: class PingLoaderImpl : public GarbageCollectedFinalized<PingLoaderImpl>, final https://codereview.chromium.org/2567933003/diff/1/third_party/WebKit/Source/core/loader/PingLoader.cpp#newcode201 third_party/WebKit/Source/core/loader/PingLoader.cpp:201: ...
4 years ago (2016-12-12 07:48:21 UTC) #3
haraken
> https://codereview.chromium.org/2567933003/diff/1/third_party/WebKit/Source/core/loader/PingLoader.cpp > File third_party/WebKit/Source/core/loader/PingLoader.cpp (right): > > https://codereview.chromium.org/2567933003/diff/1/third_party/WebKit/Source/core/loader/PingLoader.cpp#newcode189 > third_party/WebKit/Source/core/loader/PingLoader.cpp:189: class PingLoaderImpl : > ...
4 years ago (2016-12-12 11:19:19 UTC) #4
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/2567933003/1
4 years ago (2016-12-12 11:25:04 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/197032)
4 years ago (2016-12-12 13:07:38 UTC) #8
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/2567933003/1
4 years ago (2016-12-12 15:28:38 UTC) #10
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years ago (2016-12-12 17:18:35 UTC) #13
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/89aaa753cac97aa76612a34dcff6bd5d1a78d698 Cr-Commit-Position: refs/heads/master@{#437894}
4 years ago (2016-12-12 17:21:37 UTC) #15
haraken
4 years ago (2016-12-13 07:25:19 UTC) #16
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:20001) has been created in
https://codereview.chromium.org/2569983002/ by haraken@chromium.org.

The reason for reverting is: This CL was wrong. WeakMember is not cleared until
the frame is garbage-collected. This wrongly changes the lifetime of
PingLoaderImpl. PingLoaderImpl must stop working when the associated context is
detached, not when the frame is garbage-collected..

Powered by Google App Engine
This is Rietveld 408576698