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 Review-Url: https://codereview.chromium.org/2600163002 Cr-Commit-Position: refs/heads/master@{#440734}
Showing
Please register or sign in to comment