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

Issue 2600163002: SharedWorker: Clarify that SharedWorkerRepository is owned by RenderFrameImpl (Closed)

Created:
3 years, 12 months ago by nhiroki
Modified:
3 years, 11 months ago
Reviewers:
kinuko
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, creis+watch_chromium.org, nasko+codewatch_chromium.org, jam, darin-cc_chromium.org, kinuko+watch, blink-worker-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

SharedWorker: Clarify that SharedWorkerRepository is owned by RenderFrameImpl Before this CL, SharedWorkerRepository is implicitly owned by RenderFrameImpl. It's created when RenderFrameImpl is initialized and destructed on RenderFrameObserver::OnDestruct called from the dtor of RenderFrameImpl. This looks confusing. After this CL, RenderFrameImpl explicitly owns SharedWorkerRepository as its member field. This should not change behavior. BUG=612308 Committed: https://crrev.com/bf678987c37ca0fb32515321216bb6b6c7ae76ad Cr-Commit-Position: refs/heads/master@{#440734}

Patch Set 1 #

Patch Set 2 : fix test crashes #

Patch Set 3 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -21 lines) Patch
M content/renderer/render_frame_impl.h View 2 chunks +2 lines, -0 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 chunk +3 lines, -1 line 0 comments Download
M content/renderer/shared_worker_repository.h View 1 3 chunks +4 lines, -7 lines 0 comments Download
M content/renderer/shared_worker_repository.cc View 1 2 3 chunks +5 lines, -13 lines 0 comments Download

Messages

Total messages: 25 (20 generated)
nhiroki
PTAL, thanks!
3 years, 12 months ago (2016-12-27 04:38:04 UTC) #15
kinuko
lgtm
3 years, 12 months ago (2016-12-27 04:47:20 UTC) #16
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/2600163002/40001
3 years, 12 months ago (2016-12-27 05:32:59 UTC) #20
commit-bot: I haz the power
Committed patchset #3 (id:40001)
3 years, 12 months ago (2016-12-27 05:37:10 UTC) #23
commit-bot: I haz the power
3 years, 11 months ago (2017-01-02 15:45:37 UTC) #25
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/bf678987c37ca0fb32515321216bb6b6c7ae76ad
Cr-Commit-Position: refs/heads/master@{#440734}

Powered by Google App Engine
This is Rietveld 408576698