summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/canvas/canvas-context-gc-custom-properties.html
Commit message (Collapse)AuthorAgeFilesLines
* Mark wrappers of canvas rendering context objects as dependent.sigbjornf@opera.com2015-03-241-0/+31
When initially called, canvas.getContext() will return a fresh rendering context object, but at the same time switch its "context mode" to a direct one (2d or webgl), such that subsequent getContext() with the same contextID argument will return that initially created context object. To correctly provide that same-object identity, the wrapper object must be marked as depending on the canvas element object, such that it will be retained across GCs. R=junov,haraken BUG=450410 Review URL: https://codereview.chromium.org/1033613002 git-svn-id: svn://svn.chromium.org/blink/trunk@192465 bbb929c8-8fbe-4397-9dbb-9b2b20218538