DescriptionRefactor how temporary references are stored.
This change is preparing to add an owner for temporary references. We
need to store the SurfaceId and owner FrameSinkId for each temporary
reference but also the order that temporary references from the
FrameSinkId were added.
To simplify this, a map is used to store the temporary reference and
data about it. This data is unused in this CL. We still store the order
in a separate map based on FrameSinkId.
Reduce public methods on SurfaceManager to simplify API. Some minor test
changes to work with the refactored SurfaceManager internals and to test
a case I noticed was missing.
BUG=683738
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel
Review-Url: https://codereview.chromium.org/2715973003
Cr-Commit-Position: refs/heads/master@{#453588}
Committed: https://chromium.googlesource.com/chromium/src/+/85cbca558fe98eae0ddd61845ef5ebbadae19d4a
Patch Set 1 #Patch Set 2 : Cleanup. #Patch Set 3 : Rebase. #
Depends on Patchset: Dependent Patchsets: Messages
Total messages: 14 (9 generated)
|