Stop collecting related layers in RemoteLayerTreeHost::updateLayerTree
authorantti@apple.com <antti@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 27 Nov 2018 12:39:27 +0000 (12:39 +0000)
committerantti@apple.com <antti@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 27 Nov 2018 12:39:27 +0000 (12:39 +0000)
commitcdafe65efbb76ff35c994b8b1b5dd2a846e36734
treed01d2c96355abda58482838d3e95979c3dbe5ff2
parentc6e62d54fabde9295bff886494a8c124868e069d
Stop collecting related layers in RemoteLayerTreeHost::updateLayerTree
https://bugs.webkit.org/show_bug.cgi?id=192003

Reviewed by Tim Horton.

We can pass the node hash directly to RemoteLayerTreePropertyApplier. The collection step doesn't seem
to add anything except an extra hash lookup.

* Shared/RemoteLayerTree/RemoteLayerTreePropertyApplier.h:
* UIProcess/RemoteLayerTree/RemoteLayerTreeHost.mm:
(WebKit::RemoteLayerTreeHost::updateLayerTree):

Pass m_nodes directly.
Some random cleanups.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@238549 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit/ChangeLog
Source/WebKit/Shared/RemoteLayerTree/RemoteLayerTreePropertyApplier.h
Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeHost.mm