Oilpan: eagerly finalize WebGLRenderingContext objects.
To simplify the destruction of WebGLRenderingContextBase-derived objects
along with their WebGLContextObjects, insist that the rendering context
is finalized first. It may then detach itself from the context objects,
before their finalizers are later run.
Such a finalization ordering avoids the need for the ref-counted
WebGLSharedWebGraphics3D abstraction which supported arbitrary
finalization orders.
R=haraken
BUG=482838
Review URL: https://codereview.chromium.org/1151163002
git-svn-id: svn://svn.chromium.org/blink/trunk@196437 bbb929c8-8fbe-4397-9dbb-9b2b20218538
10 files changed