[webkit-changes] [WebKit/WebKit] 3e3871: Remove WebPageProxy's frameIdentifierToDomainMap

Alex Christensen noreply at github.com
Mon May 22 16:33:15 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3e38712a375b60ca1407802fbfe9d66f299b8dd5
      https://github.com/WebKit/WebKit/commit/3e38712a375b60ca1407802fbfe9d66f299b8dd5
  Author: Alex Christensen <achristensen at apple.com>
  Date:   2023-05-22 (Mon, 22 May 2023)

  Changed paths:
    M Source/WebKit/UIProcess/WebPageProxy.cpp
    M Source/WebKit/UIProcess/WebPageProxy.h
    M Source/WebKit/UIProcess/WebPageProxyInternals.h
    M Source/WebKit/UIProcess/WebProcessPool.cpp

  Log Message:
  -----------
  Remove WebPageProxy's frameIdentifierToDomainMap
https://bugs.webkit.org/show_bug.cgi?id=257146
rdar://109673536

Reviewed by Chris Dumez.

It is an unnecessary map, and it adds more bookkeeping.
We aren't cleaning up after frames navigate, and this is a step towards that.

* Source/WebKit/UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::updateRemoteFrameSize):
(WebKit::WebPageProxy::didFinishLoadForFrame):
(WebKit::WebPageProxy::addSubframePageProxy):
(WebKit::WebPageProxy::subframePageProxyForFrameID const): Deleted.
(WebKit::WebPageProxy::addSubframePageProxyForFrameID): Deleted.
* Source/WebKit/UIProcess/WebPageProxy.h:
* Source/WebKit/UIProcess/WebPageProxyInternals.h:
* Source/WebKit/UIProcess/WebProcessPool.cpp:
(WebKit::WebProcessPool::processForNavigation):

Canonical link: https://commits.webkit.org/264385@main




More information about the webkit-changes mailing list