Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(314)

Issue 2285153004: Clean up and fix logic around creating ImageBufferSurface and fallbacks (Closed)

Created:
4 years, 3 months ago by danakj
Modified:
4 years, 3 months ago
Reviewers:
Justin Novosad
CC:
chromium-reviews, dshwang, ajuma+watch-canvas_chromium.org, blink-reviews-html_chromium.org, dglazkov+blink, Rik, blink-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Clean up and fix logic around creating ImageBufferSurface and fallbacks Avoids a crash if a surface is not valid, we always early out in that case. Repairs the fallback logic to not fallback in the cases where: - An external surface was provided. - is3D() is true, aka WebGL. In the above cases, we should not fallback if the surface we try to use is not valid. R=junov@chromium.org BUG=641896 Committed: https://crrev.com/3c5a6056fca4642b919fb468c6ca9bfc152d1c76 Cr-Commit-Position: refs/heads/master@{#416097}

Patch Set 1 #

Patch Set 2 : surfacefallbacks #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -16 lines) Patch
M third_party/WebKit/Source/core/html/HTMLCanvasElement.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp View 1 3 chunks +27 lines, -16 lines 0 comments Download

Messages

Total messages: 14 (9 generated)
danakj
4 years, 3 months ago (2016-08-30 01:39:48 UTC) #1
Justin Novosad
On 2016/08/30 01:39:48, danakj wrote: lgtm
4 years, 3 months ago (2016-08-30 15:38:51 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2285153004/20001
4 years, 3 months ago (2016-09-01 19:10:51 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 3 months ago (2016-09-01 22:46:20 UTC) #12
commit-bot: I haz the power
4 years, 3 months ago (2016-09-01 22:48:42 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/3c5a6056fca4642b919fb468c6ca9bfc152d1c76
Cr-Commit-Position: refs/heads/master@{#416097}

Powered by Google App Engine
This is Rietveld 408576698