Chromium Code Reviews
DescriptionFix destruction order between SurfaceManger and OffscreenCanvasSurfaceImpl
In a whole chain of objects tear down during a page closure, SurfaceManager
is unexpectedly marked to be deleted before OffscreenCanvasSurfaceImpl is
torn down. But OffscreenCanvasSurfaceImpl's two members still rely on
manager_ in their destructors. This CL makes sure that before
OffscreenCanvasSurfaceImpl is torn down, it checks whether SurfaceManager is
alive and informs its two members (SurfaceIdAllocator and SurfaceFactory)
about this.
TBR=jbauman@chromium.org
BUG=621849
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Committed: https://crrev.com/9eb60ebf171a8fc0ba919d65c72661a13960f5b6
Cr-Commit-Position: refs/heads/master@{#401685}
Patch Set 1 #
Total comments: 6
Patch Set 2 : fix SurfaceIdAllocator's destructor #
Total comments: 4
Messages
Total messages: 20 (10 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||