commit | b46b601d0286d9ffc010250ce48602f21bfd6404 | [log] [tgz] |
---|---|---|
author | junov <junov@chromium.org> | Fri May 27 21:08:50 2016 |
committer | Commit bot <commit-bot@chromium.org> | Fri May 27 21:10:57 2016 |
tree | 9812eb5c32ba781c3d8e0c89df0753190e1c6b61 | |
parent | e6ffe53e5189609c8d93784c31ce347d63eed693 [diff] |
Fix 2D canvas state persistency after OffscreenCanvas.transferToImageBitmap This change restores the matrix and clip state stack on the new ImageBuffer that get created by OffscreenCanvasRenderingContext2D after the previous buffer was torn off by transferToImageBItmap. This change also adds the clip() method to OffscreenCanvasRenderingContext2D. BUG=593349 Review-Url: https://codereview.chromium.org/1995733005 Cr-Commit-Position: refs/heads/master@{#396559}