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

Issue 2569983002: Revert of Remove DOMWindowProperty from PingLoaderImpl

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

Revert of Remove DOMWindowProperty from PingLoaderImpl (patchset #2 id:20001 of https://codereview.chromium.org/2567933003/ ) Reason for revert: 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. Original issue's 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} TBR=sigbjornf@opera.com # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=610176

Patch Set 1 #

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

Messages

Total messages: 6 (2 generated)
haraken
Created Revert of Remove DOMWindowProperty from PingLoaderImpl
4 years ago (2016-12-13 07:25:20 UTC) #2
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/2569983002/1
4 years ago (2016-12-13 07:25:39 UTC) #3
commit-bot: I haz the power
Failed to apply patch for third_party/WebKit/Source/core/loader/PingLoader.cpp: While running git apply --index -p1; error: patch failed: ...
4 years ago (2016-12-13 07:26:08 UTC) #5
sof
4 years ago (2016-12-13 07:26:16 UTC) #6
lgtm

Powered by Google App Engine
This is Rietveld 408576698